Class Connection (1.24.0)

Connection(client)

DB-API Connection to Google BigQuery.

Parameter

Name Description
client google.cloud.bigquery.Client

A client used to connect to BigQuery.

Inheritance

builtins.object > Connection

Methods

close

close()

No-op.

commit

commit()

No-op.

cursor

cursor()

Return a new cursor object.

Returns
Type Description
google.cloud.bigquery.dbapi.Cursor A DB-API cursor that uses this connection.

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年10月30日 UTC.