Documentation ¶
Index ¶
- Constants
- func NewConn() pluginDriver.Driver
- type Conn
- func (This *Conn) CheckUri() error
- func (This *Conn) Close() bool
- func (This *Conn) Commit(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) Connect() bool
- func (This *Conn) Del(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) GetUriExample() string
- func (This *Conn) Insert(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) Open() error
- func (This *Conn) Query(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- func (This *Conn) ReConnect() bool
- func (This *Conn) SetOption(uri *string, param map[string]interface{})
- func (This *Conn) SetParam(p interface{}) (interface{}, error)
- func (This *Conn) Update(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
- type Stub
Constants ¶
View Source
const BIFROST_VERION = "v1.6.0"
View Source
const VERSION = "v1.6.0"
Variables ¶
This section is empty.
Functions ¶
func NewConn ¶
func NewConn() pluginDriver.Driver
Types ¶
type Conn ¶
type Conn struct { pluginDriver.PluginDriverInterface Uri *string // contains filtered or unexported fields }
func (*Conn) Commit ¶
func (This *Conn) Commit(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) Del ¶
func (This *Conn) Del(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) GetUriExample ¶
func (*Conn) Insert ¶
func (This *Conn) Insert(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) Query ¶
func (This *Conn) Query(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
func (*Conn) Update ¶
func (This *Conn) Update(data *pluginDriver.PluginDataType, retry bool) (*pluginDriver.PluginDataType, *pluginDriver.PluginDataType, error)
type Stub ¶
type Stub struct { Check func() error Insert func(SchemaName string, TableName string, data map[string]interface{}) (e error) Update func(SchemaName string, TableName string, data []map[string]interface{}) (e error) Delete func(SchemaName string, TableName string, data map[string]interface{}) (e error) Query func(SchemaName string, TableName string, sql string) (e error) }
Click to show internal directories.
Click to hide internal directories.