whereNowOrPast method

  1. @override
QueryBuilder whereNowOrPast(
  1. String column, {
  2. String boolean = 'and',
})
inherited

Implementation

@override
QueryBuilder whereNowOrPast(
  String column, {
  String boolean = 'and',
}) {
  _appendCondition(
    "$column <= NOW()",
    isOr: (boolean.toLowerCase() == 'or'),
  );
  return this;
}