queryPage abstract method

Future<List> queryPage(
  1. String collectionId, {
  2. required Map<String, QueryValue> where,
  3. required Map<String, OrderDirection> orderBy,
  4. int? limit,
  5. int? offset,
  6. List<Object?>? startAfter,
})

Implementation

Future<List> queryPage(String collectionId,
    {required Map<String, QueryValue> where,
    required Map<String, OrderDirection> orderBy,
    int? limit,
    int? offset, // appwrite only
    List<Object?>? startAfter});