package
0.315.0
Repository: https://github.com/trinodb/trino-go-client.git
Documentation: pkg.go.dev

# Functions

Date creates a representation of a Trino Date type.
DeregisterCustomClient removes the client associated to the key.
RegisterCustomClient associates a client to a key in the driver's registry.
Serial converts any supported value to its equivalent string for as a Trino parameter See https://trino.io/docs/current/language/types.html.
Time creates a representation of a Trino Time type.
Timestamp creates a representation of a Trino Timestamp(9) type.
TimeTz creates a representation of a Trino Time(9) With Timezone type.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultCancelQueryTimeout is the timeout for the request to cancel queries in Trino.
DefaultQueryTimeout is the default timeout for queries executed without a context.
ErrInvalidProgressCallbackHeader indicates that server did not get valid headers for progress callback.
ErrInvalidResponseType indicates that the server returned an invalid type definition.
ErrOperationNotSupported indicates that a database operation is not supported.
ErrQueryCancelled indicates that a query has been cancelled.
ErrUnsupportedHeader indicates that the server response contains an unsupported header.

# Structs

Config is a configuration that can be encoded to a DSN string.
Conn is a Trino connection.
No description provided by the author
No description provided by the author
No description provided by the author
ErrQueryFailed indicates that a query to Trino failed.
No description provided by the author
No description provided by the author
NullMap represents a map type that may be null.
NullSlice2Bool represents a two-dimensional slice of bool that may be null.
NullSlice2Float64 represents a two-dimensional slice of float64 that may be null.
NullSlice2Int64 represents a two-dimensional slice of int64 that may be null.
NullSlice2Map represents a two-dimensional slice of NullMap that may be null.
NullSlice2String represents a two-dimensional slice of string that may be null.
NullSlice2Time represents a two-dimensional slice of time.Time that may be null.
NullSlice3Bool implements a three-dimensional slice of bool that may be null.
NullSlice3Float64 represents a three-dimensional slice of float64 that may be null.
NullSlice3Int64 implements a three-dimensional slice of int64 that may be null.
NullSlice3Map represents a three-dimensional slice of NullMap that may be null.
NullSlice3String implements a three-dimensional slice of string that may be null.
NullSlice3Time represents a three-dimensional slice of time.Time that may be null.
NullSliceBool represents a slice of bool that may be null.
NullSliceFloat64 represents a slice of float64 that may be null.
NullSliceInt64 represents a slice of int64 that may be null.
NullSliceMap represents a slice of NullMap that may be null.
NullSliceString represents a slice of string that may be null.
NullSliceTime represents a slice of time.Time that may be null.
NullTime represents a time.Time value that can be null.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Numeric is a string representation of a number, such as "10", "5.5" or in scientific form If another string format is used it will error to serialise.