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