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