where method

Future<List<TModel>> where(
  1. Expression<bool> filter(
    1. TTable tbl
    )
)

Find records matching conditions

Implementation

Future<List<TModel>> where(
    Expression<bool> Function(TTable tbl) filter) {
  return (database.select(table)..where(filter)).get();
}