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