mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(postgres): Dashboard search is now case insensitive when using Postgres, fixes #1896
This commit is contained in:
@@ -16,6 +16,7 @@ type Dialect interface {
|
||||
ShowCreateNull() bool
|
||||
SqlType(col *Column) string
|
||||
SupportEngine() bool
|
||||
LikeStr() string
|
||||
|
||||
CreateIndexSql(tableName string, index *Index) string
|
||||
CreateTableSql(table *Table) string
|
||||
@@ -58,6 +59,10 @@ func (b *BaseDialect) AndStr() string {
|
||||
return "AND"
|
||||
}
|
||||
|
||||
func (b *BaseDialect) LikeStr() string {
|
||||
return "LIKE"
|
||||
}
|
||||
|
||||
func (b *BaseDialect) OrStr() string {
|
||||
return "OR"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user