find method

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

Implementation

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