findSingleRow static method

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

Implementation

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