find method

Future<List<ServerHealthMetric>> find(
  1. Session session, {
  2. WhereExpressionBuilder<ServerHealthMetricTable>? where,
  3. int? limit,
  4. int? offset,
  5. OrderByBuilder<ServerHealthMetricTable>? orderBy,
  6. bool orderDescending = false,
  7. OrderByListBuilder<ServerHealthMetricTable>? orderByList,
  8. Transaction? transaction,
})

Implementation

Future<List<ServerHealthMetric>> find(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<ServerHealthMetricTable>? where,
  int? limit,
  int? offset,
  _i1.OrderByBuilder<ServerHealthMetricTable>? orderBy,
  bool orderDescending = false,
  _i1.OrderByListBuilder<ServerHealthMetricTable>? orderByList,
  _i1.Transaction? transaction,
}) async {
  return session.dbNext.find<ServerHealthMetric>(
    where: where?.call(ServerHealthMetric.t),
    orderBy: orderBy?.call(ServerHealthMetric.t),
    orderByList: orderByList?.call(ServerHealthMetric.t),
    orderDescending: orderDescending,
    limit: limit,
    offset: offset,
    transaction: transaction,
  );
}