Help us shape the future of Go! Take the 2026 Go Developer Survey

load

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSQL

func BuildSQL(loadFormat, readerID, loadHint, tableID string) string

BuildSQL builds "LOAD" statement

func NewSession

func NewSession(dialect *info.Dialect) io.LoadExecutor

NewSession returns new BigQuery session

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

Session represents BigQuery session

func (*Session) Exec

func (s *Session) Exec(ctx context.Context, data interface{}, db *sql.DB, tableName string, options ...loption.Option) (sql.Result, error)

Exec loads given data to database

Jump to

Keyboard shortcuts

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