MCPcopy
hub / github.com/jmoiron/sqlx / MySQL

Method MySQL

sqlx_test.go:104–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func (s Schema) MySQL() (string, string, string) {
105 return strings.Replace(s.create, `"`, "`", -1), s.drop, `now()`
106}
107
108func (s Schema) Sqlite3() (string, string, string) {
109 return strings.Replace(s.create, `now()`, `CURRENT_TIMESTAMP`, -1), s.drop, `CURRENT_TIMESTAMP`

Callers 2

RunWithSchemaFunction · 0.80
RunWithSchemaContextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected