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