Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultEngine = "INNODB" DefaultCharset = "utf8mb4" DefaultCollation = "utf8mb4_unicode_ci" )
View Source
var Engine = "mysql"
View Source
var EngineDataTypes = map[string]map[string]string{
"mariadb": {"json": "longtext"},
}
View Source
var InternalFunctions = [][]string{
{"CURRENT_TIMESTAMP", "CURRENT_TIMESTAMP()", "current_timestamp()", "current_timestamp", "NOW()", "now()", "CURRENT_DATE", "CURRENT_DATE()", "current_date", "current_date()"},
{"NULL", "null"},
}
Functions ¶
func GetCharset ¶
func GetCollate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.