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