package
3.8.26
Repository: https://github.com/abulo/ratel.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
In checks if the given err is one of errs.
No description provided by the author
No description provided by the author
NewClient 创建一个新的客户端.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithCharset 设置数据库字符集.
WithDatabase 设置数据库名称.
WithDialTimeOut 设置连接超时时间.
WithDriverName 设置数据库驱动名称.
WithEnableDebug 关闭调试模式.
WithEnableMetric 开启指标采集.
WithEnableTrace 开启链路追踪.
WithHost 设置数据库IP.
WithMaxIdleConns 设置连接池里最大空闲连接数.
WithMaxIdleTime 设置连接池里面的连接最大空闲时长.
WithMaxLifetime 设置连接池里面的连接最大存活时长.
WithMaxOpenConns 设置连接池最多同时打开的连接数.
WithParseTime 是否解析时间.
WithPassword 设置数据库密码.
WithPort 设置数据库端口.
WithReadTimeOut 设置读取超时时间.
WithSslMode 设置数据库SSL模式.
WithTimeZone 设置数据库时区.
WithUsername 设置数据库用户名.

# Variables

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

# Type aliases

No description provided by the author
No description provided by the author
Option 选项.