Commit graph

13 commits

Author SHA1 Message Date
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
48e14f4fd8 Add multiple from statements. 2016-08-03 21:50:26 -07:00
Patrick O'brien
fb8540af1a Change to IdentQuote, add IdentQuote to Select QM 2016-08-02 13:25:02 +10:00
Aaron L
fd7cb01b89 Add an order by query 2016-07-31 21:05:03 -07:00
Patrick O'brien
edecf1b704 Add "count as" query fixture 2016-08-01 13:06:51 +10:00
Aaron L
b8c28c7cf8 Add offset and limit generation 2016-07-31 19:21:06 -07:00
Patrick O'brien
d0b494600e Fixed BuildQuery test 2016-06-07 16:45:06 +10:00
Patrick O'brien
2fc2a36306 Begin query building
* Added golden fixtures
2016-04-19 15:31:07 +10:00