bigquery

package
v0.0.87 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BQClient *bigquery.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) (c *Client, err error)

func (Client) InsertRow

func (c Client) InsertRow(datasetID string, tableID string, item ValueSaver) error

func (Client) InsertRows

func (c Client) InsertRows(datasetID string, tableID string, items []ValueSaver) error

type ValueSaver

type ValueSaver interface {
	Save() (map[string]bigquery.Value, string, error)
}

Jump to

Keyboard shortcuts

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