find method
Future<List<DatabaseMigrationVersion> >
find(
- DatabaseAccessor databaseAccessor, {
- WhereExpressionBuilder<
DatabaseMigrationVersionTable> ? where, - int? limit,
- int? offset,
- OrderByBuilder<
DatabaseMigrationVersionTable> ? orderBy, - bool orderDescending = false,
- OrderByListBuilder<
DatabaseMigrationVersionTable> ? orderByList, - Transaction? transaction,
Implementation
Future<List<DatabaseMigrationVersion>> find(
_i1.DatabaseAccessor databaseAccessor, {
_i1.WhereExpressionBuilder<DatabaseMigrationVersionTable>? where,
int? limit,
int? offset,
_i1.OrderByBuilder<DatabaseMigrationVersionTable>? orderBy,
bool orderDescending = false,
_i1.OrderByListBuilder<DatabaseMigrationVersionTable>? orderByList,
_i1.Transaction? transaction,
}) async {
return databaseAccessor.db.find<DatabaseMigrationVersion>(
where: where?.call(DatabaseMigrationVersion.t),
orderBy: orderBy?.call(DatabaseMigrationVersion.t),
orderByList: orderByList?.call(DatabaseMigrationVersion.t),
orderDescending: orderDescending,
limit: limit,
offset: offset,
transaction: transaction ?? databaseAccessor.transaction,
);
}