package
1.5.62
Repository: https://github.com/linlexing/dbx.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AsInt 返回整形.
AsIntContext 返回整形.
Bind 将?占位符替换成实际驱动的占位符 发现sqlx.Rebind分配大量内存,加上缓存.
BindType returns the bindtype for a given database given a drivername.
Find 根据一个驱动找到正确的Ps.
In 将一个参数类型是数组的参数对应的?,扩展成多个?,并把参数也扁平化.
废弃:用ParseDriverType代替.
NewTable 用schema.Table构造一个Table,没有数据库操作发生.
OpenTable 从数据库取出结构构造Table,表名用 schema.tablename的方式, 如果不读取数据,仅定义结构,应当使用schema.Table 注意:这里返回的所有字段名都转换成了大写,如果要获取实际的字段名,使用OpenTableCase.
No description provided by the author
No description provided by the author
return string(append(rqb, query...)) }.
Register 注册一个数据库接口,其实现了指定的方法.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

目标与来源字段的映射.
Table 表现一个数据库表,扩展了schema.Table ,提供了数据访问, 注意该表实例后,不能再去修改其结构.
Update 是一个批量更新的类.
UpdateSet 是update set的一个子句.

# Interfaces

Accesser 不同数据库驱动需要实现的数据访问类.
No description provided by the author

# Type aliases

No description provided by the author