cbcd945251
* preview of work so far * stylistic improvements * fix linters * remove golden tests, they may cause the system to be too rigid to changes * remove unnecessary code for golden tests * remove white space mangling in Execute * also handle output data, improve API, examples and docs * add helper methods * fix interface
18 lines
407 B
Go
18 lines
407 B
Go
package sqltemplate
|
|
|
|
// MySQL is an implementation of Dialect for the MySQL DMBS. It relies on having
|
|
// ANSI_QUOTES SQL Mode enabled. For more information about ANSI_QUOTES and SQL
|
|
// Modes see:
|
|
//
|
|
// https://dev.mysql.com/doc/refman/8.4/en/sql-mode.html#sqlmode_ansi_quotes
|
|
var MySQL = mysql{
|
|
rowLockingClauseAll: true,
|
|
}
|
|
|
|
var _ Dialect = MySQL
|
|
|
|
type mysql struct {
|
|
standardIdent
|
|
rowLockingClauseAll
|
|
}
|