Documentation ¶
Index ¶
- func ConcatMatchKV(key, value string) string
- func DateBetween(field string, from int64, until int64) string
- func Eq(field, value interface{}) string
- func Glob(field string, query string) string
- func GlobExpandSimple(value, prefix string, result *[]string) error
- func GlobToRegexp(g string) string
- func HasPrefix(field, prefix string) string
- func HasPrefixAndNotEq(field, prefix string) string
- func HasPrefixBytes(field, prefix []byte) string
- func HasWildcard(target string) bool
- func In(field string, list []string) string
- func InTable(field string, table string) string
- func IndexLastWildcard(target string) int
- func IndexWildcard(target string) int
- func Like(field, s string) string
- func Match(field string, key, value string) string
- func NonRegexpPrefix(expr string) string
- func TimestampBetween(field string, from int64, until int64) string
- func TreeGlob(field string, query string) string
- type Where
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatMatchKV ¶ added in v0.13.0
func GlobExpandSimple ¶ added in v0.13.0
workaraund for Grafana multi-value variables, expand S{a,b,c}E to [SaE,SbE,ScE]
func GlobToRegexp ¶
func HasPrefixAndNotEq ¶
func HasPrefixBytes ¶
func HasWildcard ¶
func IndexLastWildcard ¶ added in v0.13.0
func IndexWildcard ¶ added in v0.13.0
func NonRegexpPrefix ¶
Types ¶
type Where ¶
type Where struct {
// contains filtered or unexported fields
}
func (*Where) PreWhereSQL ¶
Click to show internal directories.
Click to hide internal directories.