Cursor¶
-
class
beneath.
Cursor
[source]¶ A cursor allows you to page through the results from of a query in Beneath.
-
replay_cursor
¶ The replay cursor, which pages through the initial query results
-
changes_cursor
¶ The change cursor, which can return updates since the query was started
-
async
read_next
(limit: int = 1000, to_dataframe=False) → Iterable[collections.abc.Mapping][source]¶ Returns a new page of results and advances the replay cursor
-
async
read_next_changes
(limit: int = 1000, to_dataframe=False) → Iterable[collections.abc.Mapping][source]¶ Returns a new page of changes and advances the change cursor
-
async
read_all
(max_records=None, max_bytes=26214400, batch_size=1000, warn_max=True, to_dataframe=False) → Iterable[collections.abc.Mapping][source]¶ Returns all records in the cursor (up to the limits of max_records and max_bytes)
-