'=='
: equality
'<'
: less than
'<='
: less than, or equal
'>'
: greater than
'>='
: greater than, or equal
'!='
: different than
'in'
: check that the value is in a list (rvalue is a list, not a tuple)
'not in'
: check that the value is in a list (rvalue is a list, not a tuple)
So, with this qualifier used to fetch Writer objects,
objects=ec.fetch('Writer', qualifier='age >= 80')
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