Reputation: 21597
Using the web2py DAL, how do a create a query to select for records will NULL values in a particular field?
Upvotes: 4
Views: 3074
Reputation: 2748
Use this pattern: db(db.table.field==None).select()
db(db.table.field==None).select()
Upvotes: 8