devops tenant api

Signed-off-by: runzexia <runzexia@yunify.com>
This commit is contained in:
runzexia
2019-04-23 20:47:47 +08:00
committed by zryfish
parent 78f2dab18c
commit 5a6f51d775
143 changed files with 19533 additions and 341 deletions

18
vendor/github.com/gocraft/dbr/expr.go generated vendored Normal file
View File

@@ -0,0 +1,18 @@
package dbr
// XxxBuilders all support raw query
type raw struct {
Query string
Value []interface{}
}
// Expr should be used when sql syntax is not supported
func Expr(query string, value ...interface{}) Builder {
return &raw{Query: query, Value: value}
}
func (raw *raw) Build(_ Dialect, buf Buffer) error {
buf.WriteString(raw.Query)
buf.WriteValue(raw.Value...)
return nil
}