Stay organized with collections Save and categorize content based on your preferences.
API documentation for bigquery.dbapi
package.
DB-API Connection to Google BigQuery.
CursorDB-API Cursor to Google BigQuery.
DataErrorDB-API error due to problems with the processed data.
DatabaseErrorDB-API error related to the database.
ErrorException representing all non-warning DB-API errors.
IntegrityErrorDB-API error when integrity of the database is affected.
InterfaceErrorDB-API error related to the database interface.
InternalErrorDB-API error when the database encounters an internal error.
NotSupportedErrorDB-API error for operations not supported by the database or API.
OperationalErrorDB-API error related to the database operation.
These errors are not necessarily under the control of the programmer.
ProgrammingErrorDB-API exception raised for programming errors.
WarningException raised for important DB-API warnings.
Packages Functions BinaryContruct a DB-API binary value.
Parameter Name Description data
An object containing binary data and that can be converted to bytes with the bytes
builtin.
DateFromTicks(timestamp, /)
Create a date from a POSIX timestamp.
The timestamp is a number, e.g. created via time.time(), that is interpreted as local time.
TimeFromTicksTimeFromTicks(ticks, tz=None)
Construct a DB-API time value from the given ticks value.
Parameters Name Description ticks
a number of seconds since the epoch; see the documentation of the standard Python time module for details.
tz
(Optional) time zone to use for conversion
TimestampFromTickstimestamp[, tz] -> tz's local time from POSIX timestamp.
connectconnect(client=None, bqstorage_client=None)
Construct a DB-API connection to Google BigQuery.
Parameters Name Description client
A REST API client used to connect to BigQuery. If not passed, a client is created using default options inferred from the environment.
bqstorage_client
A client that uses the faster BigQuery Storage API to fetch rows from BigQuery. If not passed, it is created using the same credentials as client
(provided that BigQuery Storage dependencies are installed). If both clients are available, bqstorage_client
is used for fetching query results.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4