findFirstRow method

Future<SessionLogEntry?> findFirstRow(
  1. Session session, {
  2. WhereExpressionBuilder<SessionLogEntryTable>? where,
  3. int? offset,
  4. OrderByBuilder<SessionLogEntryTable>? orderBy,
  5. bool orderDescending = false,
  6. OrderByListBuilder<SessionLogEntryTable>? orderByList,
  7. Transaction? transaction,
})

Implementation

Future<SessionLogEntry?> findFirstRow(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<SessionLogEntryTable>? where,
  int? offset,
  _i1.OrderByBuilder<SessionLogEntryTable>? orderBy,
  bool orderDescending = false,
  _i1.OrderByListBuilder<SessionLogEntryTable>? orderByList,
  _i1.Transaction? transaction,
}) async {
  return session.dbNext.findFirstRow<SessionLogEntry>(
    where: where?.call(SessionLogEntry.t),
    orderBy: orderBy?.call(SessionLogEntry.t),
    orderByList: orderByList?.call(SessionLogEntry.t),
    orderDescending: orderDescending,
    offset: offset,
    transaction: transaction,
  );
}