package
1.9.46
Repository: https://github.com/lgdzz/vingo-utils.git
Documentation: pkg.go.dev

# Functions

数据库事务自动提交.
Begin 开始事务.
生成数据库字典.
No description provided by the author
检查字段是否允许被修改.
Create 创建数据记录.
No description provided by the author
No description provided by the author
Delete 删除数据记录.
No description provided by the author
FirstOrCreate 不存在则创建.
Get 通过主键id获取记录.
GetByColumn 通过条件获取记录.
获取表字段.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
like模糊查询.
No description provided by the author
指定字段第一个汉字按A-Z排序.
No description provided by the author
组织like语句,返回值直接放在Where中使用.
组织多个like语句,OR条件,返回值直接放在Where中使用.
记录不存在时抛出错误.
记录不存在时抛出错误.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
设置数据路径,上下级数据结构包含(path、len)字段使用 model传入必须是指针类型.
设置自身path和所有子级path.
设置所有子级路径,一般在更新pid时使用.
关键词组装.
No description provided by the author
时间范围查询.
No description provided by the author
记录不存在时抛出错误(事务内).
Updates 更新指定模型字段.
No description provided by the author

# Variables

Db 连接池句柄.

# Structs

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