findFirstRow method

Future<QueryLogEntry?> findFirstRow(
  1. Session session, {
  2. WhereExpressionBuilder<QueryLogEntryTable>? where,
  3. int? offset,
  4. OrderByBuilder<QueryLogEntryTable>? orderBy,
  5. bool orderDescending = false,
  6. OrderByListBuilder<QueryLogEntryTable>? orderByList,
  7. 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,
  );
}