Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 773
David Nehme Avatar asked Feb 22 '23 16:02

David Nehme


1 Answers

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

like image 184
dgilland Avatar answered Mar 11 '23 12:03

dgilland