MCPcopy
hub / github.com/go-gorp/gorp / MySQLDialect

Struct MySQLDialect

dialect_mysql.go:15–22  ·  view source on GitHub ↗

Implementation of Dialect for MySQL databases.

Source from the content-addressed store, hash-verified

13
14// Implementation of Dialect for MySQL databases.
15type MySQLDialect struct {
16
17 // Engine is the storage engine to use "InnoDB" vs "MyISAM" for example
18 Engine string
19
20 // Encoding is the character encoding to use for created tables
21 Encoding string
22}
23
24func (d MySQLDialect) QuerySuffix() string { return ";" }
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected