bq

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

func Query[T any](ctx context.Context, client *bigquery.Client, queryString string) ([]*T, error)

Query takes a queryString (assumed to be valid SQL) and executes it against BigQuery using the given client. The results are then mapped to a slice of T, where each row in the result is mapped to a struct of type T.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL