Documentation
¶
Index ¶
- func CastType(iface interface{}) string
- type Result
- type Row
- type Timescale
- func (ts *Timescale) BulkInsert(table string, data []map[string]interface{})
- func (ts *Timescale) Close()
- func (ts *Timescale) Connect()
- func (ts *Timescale) ExecAndCommit(query string, args ...interface{}) error
- func (ts *Timescale) FindByID(table string, id int) *Result
- func (ts *Timescale) Insert(table string, data map[string]interface{})
- func (ts *Timescale) InsertStruct(table string, data interface{})
- func (ts *Timescale) Query(query string, data map[string]interface{}) *Result
- func (ts *Timescale) Update(table string, data map[string]interface{}, where string)
- func (ts *Timescale) UpdateByID(table string, data map[string]interface{}, id int)
- type Value
- func (v *Value) AsBool() bool
- func (v *Value) AsByte() []byte
- func (v *Value) AsFloat() float64
- func (v *Value) AsInt() int
- func (v *Value) AsInt64() int64
- func (v *Value) AsInterface() interface{}
- func (v *Value) AsJSON(target interface{})
- func (v *Value) AsString() string
- func (v *Value) AsTime() time.Time
- func (v *Value) BinaryToInt() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Timescale ¶
Timescale Timescale
func (*Timescale) BulkInsert ¶
func (*Timescale) ExecAndCommit ¶
ExecAndCommit ExecAndCommit
func (*Timescale) InsertStruct ¶
Click to show internal directories.
Click to hide internal directories.