findSingleRow static method

  1. @Deprecated('Will be removed in 2.0.0. Use: db.findRow instead.')
Future<SessionLogEntry?> findSingleRow(
  1. Session session, {
  2. WhereExpressionBuilder<SessionLogEntryTable>? where,
  3. int? offset,
  4. Column? orderBy,
  5. bool orderDescending = false,
  6. bool useCache = true,
  7. Transaction? transaction,
})

Implementation

@Deprecated('Will be removed in 2.0.0. Use: db.findRow instead.')
static Future<SessionLogEntry?> findSingleRow(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<SessionLogEntryTable>? where,
  int? offset,
  _i1.Column? orderBy,
  bool orderDescending = false,
  bool useCache = true,
  _i1.Transaction? transaction,
}) async {
  return session.db.findSingleRow<SessionLogEntry>(
    where: where != null ? where(SessionLogEntry.t) : null,
    offset: offset,
    orderBy: orderBy,
    orderDescending: orderDescending,
    useCache: useCache,
    transaction: transaction,
  );
}