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