query

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// RowDelay pauses query result collection on every row.
	RowDelay = time.Duration(0)
)

Functions

func Run

func Run[Row any](ctx context.Context, c Querier, query string, params []bigquery.QueryParameter) ([]Row, error)

Run collects all rows of the parameterized type from a job based on the given query and any query parameters.

Types

type Querier

type Querier interface {
	Query(s string) bqiface.Query
}

Querier interface are types supporting a Query operation.

Jump to

Keyboard shortcuts

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