Categorygithub.com/weixinhost/litedb
modulepackage
1.0.4
Repository: https://github.com/weixinhost/litedb.git
Documentation: pkg.go.dev

# README

LiteDB

一个轻便以及追求SQL性能的MYSQL客户端

Intro

LiteDB 的核心设计目标是提供一个轻量级的SQL封装.
LiteDB 不会对设计范式与Mysql本身做更多的侵入
LiteDB 提供基本的SQL CURD封装
LiteDB 不提供任何形式的SQLBuilder
LiteDB 使用 `database/sql` 和 mysql驱动

Document

https://github.com/weixinhost/litedb/wiki

Configure

Client.Config.Set 请参考https://github.com/go-sql-driver/mysql

# Packages

No description provided by the author

# Functions

关闭Debug模式.
No description provided by the author
初始化数据库此时已经打开连接池,如果数据库连接失败会返回error.
No description provided by the author
初始化一个TCP客户端.
开启Debug模式.
* 设置每个连接的最大生存时间。如果小于等于0 则用不过期。 **/.
No description provided by the author
ToInt64 interface to int64.
ToStr interface to string.

# Variables

No description provided by the author

# Structs

客户端.
客户端DNS配置.
Client.Exec 的结果.
Client.Query 的结果.
EmptyRowsError 未发现行.
NetError 网络错误.
ReflectError 反射阶段错误.
Sql操作集.
SQLError 错误.
事务客户端.

# Interfaces

支持struct中的字段拥有更复杂的类型.需要实现该接口才能正确的打包成string插入数据库中.
对 MarshalBinary 的反向操作.

# Type aliases

StrTo is the target string.