find method

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

Implementation

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