types

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvalidUUIDFormatError = errors.New("invalid UUID format")

Functions

This section is empty.

Types

type Date added in v1.3.5

type Date time.Time

Truncate timezone

clickhouse.Date(time.Date(2017, 1, 1, 0, 0, 0, 0, time.Local)) -> time.Date(2017, 1, 1, 0, 0, 0, 0, time.UTC)

func (Date) Value added in v1.3.5

func (date Date) Value() (driver.Value, error)

type DateTime added in v1.3.5

type DateTime time.Time

Truncate timezone

clickhouse.DateTime(time.Date(2017, 1, 1, 0, 0, 0, 0, time.Local)) -> time.Date(2017, 1, 1, 0, 0, 0, 0, time.UTC)

func (DateTime) Value added in v1.3.5

func (datetime DateTime) Value() (driver.Value, error)

type UUID added in v1.3.5

type UUID string

this type will be deprecated because the ClickHouse server (>=1.1.54276) has a built-in type UUID

func (UUID) MarshalBinary added in v1.3.5

func (str UUID) MarshalBinary() ([]byte, error)

func (*UUID) Scan added in v1.3.5

func (str *UUID) Scan(v interface{}) error

func (UUID) Value added in v1.3.5

func (str UUID) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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