Documentation ¶
Overview ¶
Package db2 实现了db2的数据库方言Dialect,支持db2 10.x+ 对应数据库
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { URL string `json:"url"` //数据库url,包含数据库地址,数据库其他参数 Username string `json:"username"` //用户名 Password string `json:"password"` //密码 }
Config 配置 ibm.com/docs/en/db2/11.1?topic=file-data-server-driver-configuration-keywords
type FieldType ¶
type FieldType struct { *database.BaseFieldType // contains filtered or unexported fields }
FieldType 字段类型
type Scanner ¶
type Scanner struct { database.BaseScanner // contains filtered or unexported fields }
Scanner 扫描器
type Source ¶
type Source struct { *database.BaseSource //基础数据源 // contains filtered or unexported fields }
Source db2数据源
func (*Source) ConnectName ¶
ConnectName github.com/ibmdb/go_ibm_db的数据源连接信息
func (*Source) DriverName ¶
DriverName github.com/ibmdb/go_ibm_db的驱动名
Click to show internal directories.
Click to hide internal directories.