findFirstRow method

Future<CloudStorageEntry?> findFirstRow(
  1. Session session, {
  2. WhereExpressionBuilder<CloudStorageEntryTable>? where,
  3. int? offset,
  4. OrderByBuilder<CloudStorageEntryTable>? orderBy,
  5. bool orderDescending = false,
  6. OrderByListBuilder<CloudStorageEntryTable>? orderByList,
  7. 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,
  );
}