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