Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DriverName is name of the driver that this package provides
DriverName = "awstimestream"
)
Variables ¶
View Source
var ( // ErrTooFewParameters is an error indicates number of passed parameters less than query's placeholders. // It may be returned by Rows.QueryContext(). ErrTooFewParameters = errors.New("too few parameters passed") )
Functions ¶
Types ¶
type BareStringValue ¶ added in v1.5.0
type BareStringValue struct {
Bare string
}
BareStringValue is a string parameter but not quoted. You can wrap interval literal with this type and then embed interval literal into query.
func (BareStringValue) IsBareValue ¶ added in v1.5.0
func (BareStringValue) IsBareValue()
type BooleanArray ¶ added in v1.3.0
type BooleanArray []bool
BooleanArray is a wrapper type of []bool that scannable by database/sql
func (*BooleanArray) Scan ¶ added in v1.3.0
func (a *BooleanArray) Scan(src interface{}) error
type Config ¶
type Config struct { Endpoint string Region string CredentialProvider credentials.Provider EnableXray bool }
type FloatArray ¶ added in v1.3.0
type FloatArray []float64
FloatArray is a wrapper type of []float64 that scannable by database/sql
func (*FloatArray) Scan ¶ added in v1.3.0
func (a *FloatArray) Scan(src interface{}) error
type IntegerArray ¶ added in v1.3.0
type IntegerArray []int
IntegerArray is a wrapper type of []int that scannable by database/sql
func (*IntegerArray) Scan ¶ added in v1.3.0
func (a *IntegerArray) Scan(src interface{}) error
type StringArray ¶ added in v1.3.0
type StringArray []string
StringArray is a wrapper type of []string that scannable by database/sql
func (*StringArray) Scan ¶ added in v1.3.0
func (a *StringArray) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.