Commit graph

17 commits

Author SHA1 Message Date
Patrick O'brien
793522650c Add lq, rq, and indexplaceholders args everywhere 2016-09-10 05:15:50 +10:00
Patrick O'brien
d5eb79ae28 Fix formatting (gofmt -s for goreportcard.com) 2016-09-05 21:47:17 +10:00
Aaron L
9f52cf6ec9 Delete unused code 2016-08-31 21:34:10 -07:00
Aaron L
6b966954ee Fix random bits that were unfinished. 2016-08-31 21:34:10 -07:00
Patrick O'brien
d28b3f4b62 Finish WHERE IN feature
* Fix bug with appendOr/And ordering
2016-08-19 03:21:53 +10:00
Patrick O'brien
94d36d7bf7 Begin IN implementation 2016-08-17 15:19:23 +10:00
Patrick O'brien
ffa751b1a7 Add escaping question marks for args
* Add thorough ConvertQuestionMarks test
2016-08-14 00:54:46 +10:00
Patrick O'brien
4b27cea3a6 Add join with where using args test 2016-08-13 03:28:46 +10:00
Patrick O'brien
4571184b7d Add args to Having query mod
* Add more thorough golden tests
* Fix bug in update column ordering, now uses sort
2016-08-13 03:08:09 +10:00
Patrick O'brien
e3f319346f Finish UpdateAll query builder
* Add modifiers to delete builder
* Update golden file tests
* Add startAt to whereClause
2016-08-11 18:23:47 +10:00
Patrick O'brien
c3f8cff117 Add Or and And query mods, add ? placeholders
* Update whereClause builder to support Or and parentheses
* ? placeholders are now used instead of $1, $2 etc for where clauses.
* Update the whereClause test to add more tests and fix broken ones.
* Fix broken golden test files.
2016-08-11 16:44:15 +10:00
Patrick O'brien
af1b647fb4 Remove Or query mod, add builder whereClause test
* Add fixture tests/golden files
2016-08-09 22:29:59 +10:00
Patrick O'brien
99b292b1ee Update query builder to make queries readable
* Finish DeleteAll for slice and query
* Fixed some formatting and comments
2016-08-09 20:19:42 +10:00
Aaron L
f6d113a5ef GroupBy and Having work now 2016-08-08 00:28:01 -07:00
Aaron L
1ba2333658 Add test for a query with writeStars 2016-08-07 18:07:37 -07:00
Aaron L
6596868cb8 Change join structure to truly support any join
- Also normalize the "," vs ", " in query generation
2016-08-07 18:07:37 -07:00
Aaron L
5541b4dce9 Reorganize things before tearing apart 2016-08-07 18:07:37 -07:00