findSingleRow static method

Future<UserInfo?> findSingleRow(
  1. Session session, {
  2. UserInfoExpressionBuilder? where,
  3. int? offset,
  4. Column? orderBy,
  5. bool orderDescending = false,
  6. bool useCache = true,
  7. Transaction? transaction,
})

Implementation

static Future<UserInfo?> findSingleRow(
  _i1.Session session, {
  UserInfoExpressionBuilder? where,
  int? offset,
  _i1.Column? orderBy,
  bool orderDescending = false,
  bool useCache = true,
  _i1.Transaction? transaction,
}) async {
  return session.db.findSingleRow<UserInfo>(
    where: where != null ? where(UserInfo.t) : null,
    offset: offset,
    orderBy: orderBy,
    orderDescending: orderDescending,
    useCache: useCache,
    transaction: transaction,
  );
}