Finish WHERE IN feature
* Fix bug with appendOr/And ordering
This commit is contained in:
parent
3cdfc6237a
commit
d28b3f4b62
5 changed files with 252 additions and 174 deletions
strmangle
|
@ -237,7 +237,7 @@ func PrefixStringSlice(str string, strs []string) []string {
|
|||
}
|
||||
|
||||
// Placeholders generates the SQL statement placeholders for in queries.
|
||||
// For example, ($1, $2, $3), ($4, $5, $6) etc.
|
||||
// For example, ($1,$2,$3),($4,$5,$6) etc.
|
||||
// It will start counting placeholders at "start".
|
||||
func Placeholders(count int, start int, group int) string {
|
||||
buf := GetBuffer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue