Documentation ¶
Overview ¶
Package dameng implements gdb.Driver, which supports operations for database Kingbase.
Index ¶
- func New() gdb.Driver
- type Driver
- func (d *Driver) ConvertValueForField(_ context.Context, _ string, fieldValue interface{}) (interface{}, error)
- func (d *Driver) DoInsert(ctx context.Context, link gdb.Link, table string, list gdb.List, ...) (result sql.Result, err error)
- func (d *Driver) GetChars() (charLeft string, charRight string)
- func (d *Driver) New(core *gdb.Core, _ *gdb.ConfigNode) (gdb.DB, error)
- func (d *Driver) Open(config *gdb.ConfigNode) (db *sql.DB, err error)
- func (d *Driver) Schema(schema string) *gdb.Schema
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
func (*Driver) ConvertValueForField ¶
func (d *Driver) ConvertValueForField(_ context.Context, _ string, fieldValue interface{}) (interface{}, error)
ConvertValueForField converts value to the type of the record field.
func (*Driver) DoInsert ¶
func (d *Driver) DoInsert( ctx context.Context, link gdb.Link, table string, list gdb.List, option gdb.DoInsertOption, ) (result sql.Result, err error)
DoInsert inserts or updates data for given table.
func (*Driver) TableFields ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
* Copyright (c) 2000-2018, 达梦数据库有限公司.
|
* Copyright (c) 2000-2018, 达梦数据库有限公司. |
parser
* Copyright (c) 2000-2018, 达梦数据库有限公司.
|
* Copyright (c) 2000-2018, 达梦数据库有限公司. |
security
This is a mirror of golang.org/x/crypto/internal/subtle.
|
This is a mirror of golang.org/x/crypto/internal/subtle. |
util
* Copyright (c) 2000-2018, 达梦数据库有限公司.
|
* Copyright (c) 2000-2018, 达梦数据库有限公司. |
Click to show internal directories.
Click to hide internal directories.