Search code examples
data-access-layerweb2py

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?


Solution

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