Files
grafana/pkg/services/store/entity/sqlstash/sqltemplate/dialect_sqlite.go
T
Diego Augusto Molina acf17c7fb1 Unified Storage: Add SQL template package (#87524)
* added sqltemplate package

* addded example

* fix linting issues

* improve code readability

* fix documentation
2024-05-08 17:58:18 -03:00

17 lines
329 B
Go

package sqltemplate
// SQLite is an implementation of Dialect for the SQLite DMBS.
var SQLite sqlite
var _ Dialect = SQLite
type sqlite struct {
// See:
// https://www.sqlite.org/lang_keywords.html
standardIdent
}
func (sqlite) SelectFor(s ...string) (string, error) {
return rowLockingClauseAll(false).SelectFor(s...)
}