findSingleRow static method

  1. @Deprecated('Will be removed in 2.0.0. Use: db.findRow instead.')
Future<EmailAuth?> findSingleRow(
  1. Session session,
  2. {WhereExpressionBuilder<EmailAuthTable>? 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<EmailAuth?> findSingleRow(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<EmailAuthTable>? where,
  int? offset,
  _i1.Column? orderBy,
  bool orderDescending = false,
  bool useCache = true,
  _i1.Transaction? transaction,
}) async {
  return session.db.findSingleRow<EmailAuth>(
    where: where != null ? where(EmailAuth.t) : null,
    offset: offset,
    orderBy: orderBy,
    orderDescending: orderDescending,
    useCache: useCache,
    transaction: transaction,
  );
}