isNotNull property

ConditionQuery get isNotNull

Get sql statement to check weather this field value is not db null.

For example:

where: (q) => q.firstName.isNotNull

Implementation

ConditionQuery get isNotNull {
  var result = ConditionQuery();
  result.queryBuilder = () => '${buildQuery()} IS NOT NULL';
  result.parametersBuilder = () => [];
  return result;
}