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
d2862ef281
Fix broken tests due to spacing
2016-08-13 22:34:46 +10:00
Patrick O'brien
7517ad3ced
Fix ? conversion to $x for having and join args
2016-08-13 03:59:50 +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
18029166c0
Add FilterColumnsByUnique, finish UpdateAll slice
...
* Add FilterColumnsByUnique
* Fix lots of broken tests
* Made CompareVals less stupid
Note: UpdateAll tests still broken because Unique
is not being fetched correctly for INDEX types,
it is only working for UNIQUE constraints.
2016-08-11 22:26:49 +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
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