So on GAE this seems to be fine: db(db.my_table.my_set.contains([1], all=False)).select()
while this: db(db.my_table.my_set.contains([1,2], all=False)).select() seems to always boil down to an OR somewhere deep bellow: File "/base/data/home/apps/s~my_app/1.354557643063785927/gluon/ dal.py", line 3050, in OR def OR(self,first,second): raise SyntaxError, "Not supported" SyntaxError: Not supported my_set is a 'list:reference' Is the best way to treat it this: db(db.my_table.my_set.contains([1], all=False)).select() | db(db.my_table.my_set.contains([2], all=False)).select() or something else? Appreciate your help!