Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
docs: add line about disabling pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
cvauclair committed Jul 25, 2022
1 parent 917a328 commit 217ecd9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ field_paths = [
df = sg.query_df(field_paths, pagination_strategy=ShallowStrategy)
```

Note that pagination can be explicitely disabled by setting `pagination_strategy` to `None`, in which case the query will be executed as-is:
```python
df = sg.query_df(field_paths, pagination_strategy=ShallowStrategy)
```

### Custom pagination strategy
Subgrounds allows developers to create their own pagination strategy by creating a class that implements the `PaginationStrategy` protocol:
```python
Expand Down

0 comments on commit 217ecd9

Please sign in to comment.