def selectnone ( table , field , complement = False ) : return select ( table , field , lambda v : v is None , complement = complement )
select rows if a field is null in python
Select rows where the given field is None .
def selectnone(table, field, complement=False):
    """Select rows where the given field is `None`."""

    return select(table, field, lambda v: v is None, complement=complement)