findFirstRow method

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

Implementation

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