Please note: this project is inactive since early 2006

 
4.5.4 Equality, comparisons, in and not in

When building your qualifiers, you can use the following operators:

So, with this qualifier used to fetch Writer objects,

    objects=ec.fetch('Writer', qualifier='age >= 80')
you'll get all the authors who are 80 years old or more.

Note: in and not in operators require that the right value is expressed as a list, and not as a tuple (i.e. surrounded square brackets '[' and ']'). For example:
    objects=ec.fetch('Writer', qualifier='age in [82, 24]')

Comments are welcome: Sebastien Bigaret / Modeling Home Page
Hosted by:SourceForge.net Logo