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