findSingleRow static method
- @Deprecated('Will be removed in 2.0.0. Use: db.findRow instead.')
Future<EmailAuth?>
findSingleRow(
- Session session,
- {WhereExpressionBuilder<EmailAuthTable>? where,
- int? offset,
- Column? orderBy,
- bool orderDescending = false,
- bool useCache = true,
- 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,
);
}