clickhouse: github.com/kshvakov/clickhouse/lib/types Index | Files

package types

import "github.com/kshvakov/clickhouse/lib/types"

Index

Package Files

date.go uuid.go

Variables

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

type Date Uses

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 Uses

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

type DateTime Uses

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 Uses

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

type UUID Uses

type UUID string

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

func (UUID) MarshalBinary Uses

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

func (*UUID) Scan Uses

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

func (UUID) Value Uses

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

Package types imports 5 packages (graph). Updated 2019-04-23. Refresh now. Tools for package owners.