Re: [PyWrapper-devel] search on enumerations
Status: Alpha
Brought to you by:
jatorre
From: Javier de la T. <ja...@gm...> - 2006-07-27 21:16:20
|
Well, being an enumeration you can do a search based on an OR... Normally in enumerations you choose what you want by poiting directly to it, not using LIKE stuff... J. On 7/27/06, Markus D=F6ring <wi...@go...> wrote: > you might want to get all "XXXSpecimen" as opposed to "XXXObservation" yo= u > could do LIKE '*Specimen' > well, but its not needed for living. in PyWrapper this will be an error. > sorry. > M > > > On 7/27/06, Javier de la Torre <ja...@gm...> wrote: > > Is there any sense for doing a like in an enumeration? > > > > I think equals is more than enough and probably more correct. > > > > Javi. > > > > On 7/27/06, Markus D=F6ring <wi...@go... > wrote: > > > hi, > > > id like to implement searching on schema enumerations. > > > I allow to setup a translation between local database terms and > > > schema/concept terms. > > > So when searching I need to translate the argument as well. Thats > horrible > > > for LIKEs. So I will only allow an equal operation for now on > enumerations. > > > Do you think this is very bad? > > > > > > Markus > > > > > > > > > > |