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