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