QueryResult Class

Iterable wrapper around a list of Record objects.

Returned by execute (flat mode) and list.

Backward-compatible: for r in result continues to work without change.

Constructor

QueryResult(records: List[Record])

Parameters

Name Description
records
Required
list[Record]

Collected records from all pages.

Methods

first

Return the first record, or None if the result is empty.

to_dataframe

Return all records as a pandas DataFrame.

first

Return the first record, or None if the result is empty.

first() -> Record | None

to_dataframe

Return all records as a pandas DataFrame.

to_dataframe() -> Any

Returns

Type Description

Exceptions

Type Description

If pandas is not installed.