package vertigo
import "github.com/vertica/vertica-sql-go"
Index ¶
- func RegisterTLSConfig(name string, config *tls.Config) error
- type Driver
- type VError
- type VerticaContext
Functions ¶
func RegisterTLSConfig ¶
db, err := sql.Open("vertica", "user@tcp(localhost:3306)/test?tlsmode=custom") reserved modes: 'server', 'server-strict' or 'none'
Types ¶
type Driver ¶
type Driver struct{}
Driver as defined by the Go language Driver interface
func (*Driver) Open ¶
Open takes a connection string in this format: user:pass@host:port/database
type VError ¶
type VError struct { InternalQuery string Severity string Message string SQLState string Detail string Hint string Position string Where string InternalPosition string Routine string File string Line string ErrorCode string }
VError represents an error reported by the Vertica server.
func (*VError) Error ¶
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 errors.go result.go rows.go stmt.go tx.go
Directories ¶
Path | Synopsis |
---|---|
common | |
logger | |
msgs | |
parse | |
rowcache |
- Version
- v1.3.3 (latest)
- Published
- Aug 4, 2023
- Platform
- js/wasm
- Imports
- 25 packages
- Last checked
- now –
Tools for package owners.