findFirstRow method
Future<MessageLogEntry?>
findFirstRow(
- Session session, {
- WhereExpressionBuilder<
MessageLogEntryTable> ? where, - int? offset,
- OrderByBuilder<
MessageLogEntryTable> ? orderBy, - bool orderDescending = false,
- OrderByListBuilder<
MessageLogEntryTable> ? orderByList, - 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,
);
}