findFirstRow method

Future<AuthKey?> findFirstRow(
  1. Session session, {
  2. WhereExpressionBuilder<AuthKeyTable>? where,
  3. int? offset,
  4. OrderByBuilder<AuthKeyTable>? orderBy,
  5. bool orderDescending = false,
  6. OrderByListBuilder<AuthKeyTable>? orderByList,
  7. Transaction? transaction,
})

Implementation

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