package
1.0.1
Repository: https://github.com/ponycool/nebula-lib.git
Documentation: pkg.go.dev

# Functions

CountWhere 根据条件统计指定模型的数据记录总行数.
CreateInBatches 分批批量插入.
Escape the val for sql.
EscapeInLocation escape the val with time.Location.
Exec 执行原生SQL,并返回受影响行数.
FindOne 获取一条数据.
FindOneByCond 根据条件获取一条数据.
FindOneWhere 根据预处理语句获取一条数据 psql(Prepared SQL Statement)预处理语句.
FindWhere 根据预处理语句获取数据 psql(Prepared SQL Statement)预处理语句.
FormatInLocation format the sql with args.
No description provided by the author
Open init all the database clients.
Raw 将原生SQL扫描至模型.
Save 保存一条数据.
SaveByFields 保存一条数据,并制定字段.
Scan 扫描.
No description provided by the author
No description provided by the author
SetSingleQuoteEscaper set the singleQuoteEscaper default:\' , e.g.
TableCount 统计指定表的数据记录总行数.
Updates 更新多列.

# 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

# 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
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

# Interfaces

No description provided by the author

# Type aliases

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