Versions in this module Expand all Collapse all v1 v1.0.0 May 8, 2024 Changes in this version + const OrmTagForStruct + func New() gdb.Driver + type Driver struct + func (d *Driver) Begin(ctx context.Context) (tx gdb.TX, err error) + func (d *Driver) ConvertDataForRecord(ctx context.Context, value interface{}) (map[string]interface{}, error) + func (d *Driver) DoCommit(ctx context.Context, in gdb.DoCommitInput) (out gdb.DoCommitOutput, err error) + func (d *Driver) DoDelete(ctx context.Context, link gdb.Link, table string, condition string, ...) (result sql.Result, err error) + func (d *Driver) DoFilter(ctx context.Context, link gdb.Link, originSql string, args []interface{}) (newSql string, newArgs []interface{}, err error) + func (d *Driver) DoInsert(ctx context.Context, link gdb.Link, table string, list gdb.List, ...) (result sql.Result, err error) + func (d *Driver) DoUpdate(ctx context.Context, link gdb.Link, table string, data interface{}, ...) (result sql.Result, err error) + func (d *Driver) InsertAndGetId(ctx context.Context, table string, data interface{}, batch ...int) (int64, error) + func (d *Driver) InsertIgnore(ctx context.Context, table string, data interface{}, batch ...int) (sql.Result, error) + func (d *Driver) New(core *gdb.Core, node *gdb.ConfigNode) (gdb.DB, error) + func (d *Driver) Open(config *gdb.ConfigNode) (db *sql.DB, err error) + func (d *Driver) PingMaster() error + func (d *Driver) PingSlave() error + func (d *Driver) Replace(ctx context.Context, table string, data interface{}, batch ...int) (sql.Result, error) + func (d *Driver) TableFields(ctx context.Context, table string, schema ...string) (fields map[string]*gdb.TableField, err error) + func (d *Driver) Tables(ctx context.Context, schema ...string) (tables []string, err error) + func (d *Driver) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) error Other modules containing this package github.com/joy12825/gf/contrib/drivers/clickhouse/v2