Re: [Modeling-users] ec.fetch and SQL "in"
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-08 10:01:10
|
More notes on this: > I've submitted patch #767625 which makes it possible to do: > objects=3Dec.fetch('Writer', 'age in [24, 82]') > or: > objects=3Dec.fetch('Writer', 'age not in [24, 82]')=20 >=20 * Patch can be retrieved at: https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D767625&grou= p_id=3D58935&atid=3D489337 * The syntax really is '<attr> in/not in [ <v1>, <v2>, ...]', i.e. with square brackets, and it will remain as-is --as said in the docs I'm not a grammar nor a spark expert, and it would take me too long to allow parens '(v1, v2, ...)' here. -- S=E9bastien. |