package types
import "github.com/ClickHouse/clickhouse-go/lib/types"
Index ¶
- Variables
- type Array
- func NewArray(v interface{}) *Array
- func NewArrayByType(chType string, v interface{}) *Array
- func (array *Array) Value() (driver.Value, error)
- func (array *Array) Values() interface{}
- func (array *Array) WriteArray(encoder *binary.Encoder, column column.Column) (uint64, error)
- type Date
- type DateTime
- type UUID
Variables ¶
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
func NewArray ¶
func NewArray(v interface{}) *Array
func NewArrayByType ¶
func (*Array) Value ¶
func (*Array) Values ¶
func (array *Array) Values() interface{}
func (*Array) WriteArray ¶
type Date ¶
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 ¶
type DateTime ¶
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 ¶
type UUID ¶
type UUID string
this type will be deprecated because the ClickHouse server (>=1.1.54276) has a built-in type UUID
func (UUID) MarshalBinary ¶
func (*UUID) Scan ¶
func (UUID) Value ¶
Source Files ¶
- Version
- v1.3.5
- Published
- Nov 16, 2018
- Platform
- windows/amd64
- Imports
- 9 packages
- Last checked
- 57 minutes ago –
Tools for package owners.