findFirstRow method

Future<EmailReset?> findFirstRow(
  1. Session session, {
  2. WhereExpressionBuilder<EmailResetTable>? where,
  3. int? offset,
  4. OrderByBuilder<EmailResetTable>? orderBy,
  5. bool orderDescending = false,
  6. OrderByListBuilder<EmailResetTable>? orderByList,
  7. 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,
  );
}