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

CreateSchema 创建.
DropSchema 删除.
Find 根据实际的数据库连接返回一个元数据操纵类,缓存.
NewTable 返回一个新表,名称会自动依据句点拆分为shcema和name.
ParseDataType 将一个字符串转换成类型值.
Register 注册一个新元数据操作驱动。.
Row2Struct map转换成结构体的值.
字符串转换成时间,按照各种可能的格式.
Struct2MetaFields 将一个struct转换成元数据field.
Struct2Row 结构体的值转换成map.
TableFromStruct 将一个struct转换成table清单,可能有明细表 第一个是主表,剩余是明细表.

# Constants

Index 正常的索引.
NoIndex 没有索引.
TypeBytea 二进制数据.
TypeByteaString 二进制.
TypeDateString 日期.
TypeDatetime 日期.
TypeFloat 浮点,float 和 decimal都归入此.
TypeFloatString 浮点.
TypeInt 整型.
TypeIntString 整型.
TypeString 是字符串类型.
TypeStringString 字符串.
UniqueIndex 唯一索引.

# Structs

ChangedField 存贮字段变更信息.
Column 字段定义.
DataBaseInfo 库结构.
ErrInvalidDataType 无效的数据类型.
MetaField 一个struct field和dbfield的结合体.
Table 代表数据库中一个物理表.
TableSchemaChange 存贮一个表结构变化的数据.

# Interfaces

Meta 是数据库操作元数据的接口,任意go标准的sql驱动,实现了这个接口就可以使用dbx.

# Type aliases

DataType 字段的数据类型.