Finish WHERE IN feature

* Fix bug with appendOr/And ordering
This commit is contained in:
Patrick O'brien 2016-08-19 03:21:53 +10:00
parent 3cdfc6237a
commit d28b3f4b62
5 changed files with 252 additions and 174 deletions
strmangle

View file

@ -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()