Versions in this module Expand all Collapse all v0 v0.2.5 Dec 31, 2020 Changes in this version + const ConnectionStringEnvKey + type Config struct + APIKey string + Credentials string + CredentialsFile string + DatasetID string + Location string + ProjectID string + func ConfigFromConnString(in string) (*Config, error) + type Conn struct + func NewConn(ctx context.Context, cfg *Config) (c *Conn, err error) + func (c *Conn) Begin() (driver.Tx, error) + func (c *Conn) Close() (err error) + func (c *Conn) Exec(query string, args []driver.Value) (res driver.Result, err error) + func (c *Conn) ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) + func (c *Conn) Ping(ctx context.Context) (err error) + func (c *Conn) Prepare(query string) (stmt driver.Stmt, err error) + func (c *Conn) Query(query string, args []driver.Value) (rows driver.Rows, err error) + func (c *Conn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) + type Connector struct + Client *bigquery.Client + Info map[string]string + func NewConnector(connectionString string) *Connector + func (c *Connector) Connect(ctx context.Context) (driver.Conn, error) + func (c *Connector) Driver() driver.Driver + type Dataset interface + Create func(ctx context.Context, md *bigquery.DatasetMetadata) (err error) + Delete func(ctx context.Context) (err error) + DeleteWithContents func(ctx context.Context) (err error) + Metadata func(ctx context.Context) (md *bigquery.DatasetMetadata, err error) + Model func(modelID string) *bigquery.Model + Models func(ctx context.Context) *bigquery.ModelIterator + Routine func(routineID string) *bigquery.Routine + Routines func(ctx context.Context) *bigquery.RoutineIterator + Table func(tableID string) *bigquery.Table + Tables func(ctx context.Context) *bigquery.TableIterator + Update func(ctx context.Context, dm bigquery.DatasetMetadataToUpdate, etag string) (md *bigquery.DatasetMetadata, err error) + type Driver struct + func (d *Driver) Open(connectionString string) (c driver.Conn, err error) + func (d *Driver) OpenConnector(connectionString string) (c driver.Connector, err error) + type Stmt struct + func NewStmt(query string, c *Conn) *Stmt + func (s *Stmt) Close() error + func (s *Stmt) Exec(args []driver.Value) (driver.Result, error) + func (s *Stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (s *Stmt) NumInput() int + func (s *Stmt) Query(args []driver.Value) (driver.Rows, error) + func (s *Stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)