Files
grafana/pkg/services/store/entity/sqlstash/sqltemplate/dialect_mysql.go
T
Diego Augusto Molina cbcd945251 Unified Storage: in SQL template, also handle output data, improve API, examples and docs (#87560)
* 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
2024-05-14 12:32:21 -03:00

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
}