Fixed comment spacing
This commit is contained in:
parent
47ec74e014
commit
928f99dbb5
2
scope.go
2
scope.go
@ -456,7 +456,7 @@ var (
|
|||||||
isNumberRegexp = regexp.MustCompile("^\\s*\\d+\\s*$") // match if string is number
|
isNumberRegexp = regexp.MustCompile("^\\s*\\d+\\s*$") // match if string is number
|
||||||
comparisonRegexp = regexp.MustCompile("(?i) (=|<>|>|<|LIKE|IS|IN) ")
|
comparisonRegexp = regexp.MustCompile("(?i) (=|<>|>|<|LIKE|IS|IN) ")
|
||||||
countingQueryRegexp = regexp.MustCompile("(?i)^count(.+)$")
|
countingQueryRegexp = regexp.MustCompile("(?i)^count(.+)$")
|
||||||
pgParameterRegexp = regexp.MustCompile(`\$[0-9]+`) // to exchange postgres `$1` style parameter placeholders
|
pgParameterRegexp = regexp.MustCompile(`\$[0-9]+`) // to exchange postgres `$1` style parameter placeholders
|
||||||
)
|
)
|
||||||
|
|
||||||
func (scope *Scope) quoteIfPossible(str string) string {
|
func (scope *Scope) quoteIfPossible(str string) string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user