Stay organized with collections Save and categorize content based on your preferences.
Connection(client=None, bqstorage_client=None)
DB-API Connection to Google BigQuery.
Parameters Name Description clientOptional[google.cloud.bigquery.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_clientOptional[google.cloud.bigquery_storage_v1.BigQueryReadClient]
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.
Close the connection and any cursors created from it.
Any BigQuery clients explicitly passed to the constructor are not closed, only those created by the connection instance itself.
commitNo-op, but for consistency raise an error if connection is closed.
cursorReturn a new cursor object.
ReturnsExcept 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