database

package
v0.0.0-...-47f9cd2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VectorizedCloudDatabase

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

VectorizedCloudDatabase is a struct representing a connection to a vectorized cloud database

func NewVectorizedCloudDatabase

func NewVectorizedCloudDatabase(projectID string) (*VectorizedCloudDatabase, error)

NewVectorizedCloudDatabase returns a new VectorizedCloudDatabase instance

func (*VectorizedCloudDatabase) InsertRows

func (db *VectorizedCloudDatabase) InsertRows(table string, rows [][]bigquery.Value) error

InsertRows inserts rows of data into a table in the vectorized cloud database

func (*VectorizedCloudDatabase) ListTables

func (db *VectorizedCloudDatabase) ListTables() ([]*bigquery.Table, error)

ListTables lists the tables in the vectorized cloud database

func (*VectorizedCloudDatabase) Query

Query executes a SQL query on the vectorized cloud database

Jump to

Keyboard shortcuts

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