David Nehme
David Nehme

Reputation: 21597

query for null values in web2py DAL

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

Answers (1)

dgilland
dgilland

Reputation: 2748

Use this pattern: db(db.table.field==None).select()

Upvotes: 8

Related Questions