find method
Future<List<ServerHealthMetric> >
find(
- Session session, {
- WhereExpressionBuilder<
ServerHealthMetricTable> ? where, - int? limit,
- int? offset,
- OrderByBuilder<
ServerHealthMetricTable> ? orderBy, - bool orderDescending = false,
- OrderByListBuilder<
ServerHealthMetricTable> ? orderByList, - 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,
);
}