Documentation ¶
Index ¶
- Variables
- func CheckHasFreeSpace() bool
- func IsLocalAddr(addr string) bool
- func NewQuery(tx *dbs.Tx, dao dbs.DAOWrapper, adminId int64, userId int64) *dbs.Query
- func QuoteLike(keyword string) string
- func QuoteLikeKeyword(keyword string) string
- func QuoteLikePrefix(keyword string) string
- func QuoteLikeSuffix(keyword string) string
- func SetGlobalVarMax(db *dbs.DB, variableName string, maxValue int) error
- func SetGlobalVarMin(db *dbs.DB, variableName string, minValue int) error
Constants ¶
This section is empty.
Variables ¶
View Source
var HasFreeSpace = true
View Source
var IsLocalDatabase = false
View Source
var LocalDatabaseDataDir = ""
Functions ¶
func CheckHasFreeSpace ¶ added in v0.5.6
func CheckHasFreeSpace() bool
CheckHasFreeSpace 检查当前数据库是否有剩余空间
func QuoteLikePrefix ¶
func QuoteLikeSuffix ¶
func SetGlobalVarMax ¶ added in v0.5.3
SetGlobalVarMax 设置变量最大值
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.