vertica-sql-go – github.com/vertica/vertica-sql-go Index | Files | Directories

package vertigo

import "github.com/vertica/vertica-sql-go"

Index

Types

type Driver

type Driver struct{}

Driver as defined by the Go language Driver interface

func (*Driver) Open

func (d *Driver) Open(connString string) (driver.Conn, error)

Open takes a connection string in this format: user:pass@host:port/database

type VerticaContext

type VerticaContext interface {
	context.Context

	SetCopyInputStream(inputStream io.Reader) error
	GetCopyInputStream() io.Reader

	SetCopyBlockSizeBytes(blockSize int) error
	GetCopyBlockSizeBytes() int

	SetInMemoryResultRowLimit(rowLimit int) error
	GetInMemoryResultRowLimit() int
}

func NewVerticaContext

func NewVerticaContext(parentCtx context.Context) VerticaContext

NewVerticaContext creates a new context that inherits the values and behavior of the provided parent context.

Source Files

connection.go context.go driver.go result.go rows.go stmt.go tx.go

Directories

PathSynopsis
common
logger
msgs
parse
rowcache
Version
v1.0.0
Published
Mar 26, 2020
Platform
js/wasm
Imports
26 packages
Last checked
now

Tools for package owners.