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