Reputation: 1458
I have a table called User and in Web2Py I would to get Users that match certain ids say (1,5,11,16).
User
Do I have to write SQL query itself or can it be elegantly done using Web2Py style queries.
Upvotes: 2
Views: 5650
Reputation: 304205
The belongs operator
Upvotes: 5