Documentation ¶
Index ¶
- type Column
- type ColumnType
- type Conn
- type Connector
- type Driver
- type GenericColumnValue
- func (cv *GenericColumnValue) Bool() bool
- func (cv *GenericColumnValue) BoolValue() booldeprecated
- func (cv *GenericColumnValue) String() string
- func (cv *GenericColumnValue) StringValue() stringdeprecated
- func (cv *GenericColumnValue) Time() time.Time
- func (cv *GenericColumnValue) TimeValue() (time.Time, error)deprecated
- type GroupByKey
- type Key
- type KeyType
- type Row
- type RowValues
- type Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct { Name string OrdinalPosition int Type ColumnType NotNull bool AutoIncrement bool }
type ColumnType ¶
type ColumnType int
const ( ColumnTypeNull ColumnType = iota ColumnTypeString ColumnTypeInt ColumnTypeFloat ColumnTypeDatetime ColumnTypeDate ColumnTypeBytes ColumnTypeBool ColumnTypeStringArray ColumnTypeIntArray ColumnTypeFloatArray ColumnTypeDatetimeArray ColumnTypeDateArray ColumnTypeBytesArray ColumnTypeBoolArray )
func (ColumnType) IsArray ¶
func (ct ColumnType) IsArray() bool
func (ColumnType) String ¶
func (ct ColumnType) String() string
type GenericColumnValue ¶
type GenericColumnValue struct { Column *Column Value interface{} }
func NewGenericColumnValue ¶
func NewGenericColumnValue(column *Column, value interface{}) *GenericColumnValue
func (*GenericColumnValue) Bool ¶
func (cv *GenericColumnValue) Bool() bool
func (*GenericColumnValue) BoolValue
deprecated
func (cv *GenericColumnValue) BoolValue() bool
Deprecated:
func (*GenericColumnValue) String ¶
func (cv *GenericColumnValue) String() string
func (*GenericColumnValue) StringValue
deprecated
func (cv *GenericColumnValue) StringValue() string
Deprecated:
func (*GenericColumnValue) Time ¶
func (cv *GenericColumnValue) Time() time.Time
func (*GenericColumnValue) TimeValue
deprecated
func (cv *GenericColumnValue) TimeValue() (time.Time, error)
Deprecated:
type GroupByKey ¶
type GroupByKey map[string][]*GenericColumnValue
type Row ¶
type Row struct { GroupByKey GroupByKey Values RowValues }
type RowValues ¶
type RowValues map[string]*GenericColumnValue
func (RowValues) ColumnNames ¶ added in v0.2.2
Click to show internal directories.
Click to hide internal directories.