Michael Blume
7c373b5362
update CHANGES
2017-08-25 09:11:00 -07:00
Michael Blume
a9dffec632
update jdbc example
2017-08-20 22:44:06 -07:00
Michael Blume
a707222d53
Run all code samples from README as tests
...
using `lein test-readme` alias
2017-07-19 10:28:51 -07:00
Michael Blume
e213364012
Update README to better reflect reality
2017-07-18 22:47:08 -07:00
Michael Blume
3eaf5edbc0
Merge pull request #169 from MichaelBlume/fix-tuples
...
Revert #149 and restore tuple behavior
2017-07-18 13:47:56 -07:00
Michael Blume
9ab7d3a2f8
restore function call test using sql/call
2017-07-18 13:45:12 -07:00
Michael Blume
d99efb8606
allow inlining values
...
Most of the time we want to parameterize numbers, but sometimes we don't
Fixes #171
2017-07-18 12:50:27 -07:00
Michael Blume
a0b73cdcc6
Test that tuples work correctly
...
Thanks to @jetmind who gave this test in #168
2017-07-17 20:49:35 -07:00
Michael Blume
62c4760c6a
Revert "Merge pull request #149 "
...
Should #168
2017-07-17 20:49:35 -07:00
Michael Blume
942756d2b3
Specify lein version 2.7.1 in travis config
...
Apparently travis defaults to 2.5.1 and 2.5.1 doesn't know how to find our
tests.
Our tests all still run, so that's good.
2017-07-17 20:48:57 -07:00
Michael Blume
bc3394e6dd
call out breaking changes
2017-07-08 20:07:46 -07:00
Michael Blume
f300420d77
Cut 0.9.0 release.
2017-06-27 20:30:18 -07:00
Michael Blume
cda2f38cfa
update CHANGES
2017-06-27 20:24:14 -07:00
Brandon Adams
f94e343f31
Reprioritize WITH wrt UNION and UNION ALL
...
WITH needs to come before clauses that are part of a UNION
or UNION ALL.[1][2][3][4]
[1] "A CTE must be followed by a single SELECT, INSERT, UPDATE, or DELETE
statement that references some or all the CTE columns."
https://docs.microsoft.com/en-us/sql/t-sql/queries/with-common-table-expression-transact-sql
[2] "the WITH clause itself is attached to a primary statement that can
also be a SELECT, INSERT, UPDATE, or DELETE"
https://www.postgresql.org/docs/9.6/static/queries-with.html
[3] https://mariadb.com/kb/en/mariadb/with/
[4] "All common table expressions (ordinary and recursive) are created
by prepending a WITH clause in front of a SELECT, INSERT, DELETE, or
UPDATE statement."
https://sqlite.org/lang_with.html
Added a test case demonstrating the expected behavior for each of
UNION and UNION ALL.
2017-06-27 20:01:52 -07:00
Philip Jagielski
16251bf30d
Fix changelog formatting
...
0.6.2 rendered as one jumbled together paragraph.
2017-06-15 09:09:38 -07:00
Michael Blume
94e128976a
run eastwood on CI
2017-05-22 08:54:11 -07:00
Michael Blume
db32c8a654
match close parens in README
2017-05-20 21:47:05 -07:00
Michael Blume
2088a198e9
clarify in README that honeysql just generates sql
...
and has nothing to do with your db connection
Fix #148 ?
2017-05-20 21:45:20 -07:00
Michael Blume
63d04cf8fc
Cut 0.9.0 beta 2
2017-05-19 23:03:42 -07:00
Michael Blume
ef90bc4094
update changelog
2017-05-19 23:02:16 -07:00
Eli Naeher
00316fc6bd
Add helpers for :with and :with-recursive clauses
2017-05-19 22:59:21 -07:00
Michael Blume
a61e65b40c
Cut 0.9.0 beta 1.
2017-05-10 14:00:00 -07:00
Michael Blume
3154caa6e7
upgrade cljs dependencies
2017-05-10 13:40:06 -07:00
Michael Blume
4d88e60dcb
update CHANGES
2017-05-10 13:34:47 -07:00
Michael Blume
f22cae3278
Require that defhelper arglist has two elements
...
one for the map and one for varargs
Add & to metadata arglists, make them correct
2017-05-10 09:46:54 -07:00
Michael Blume
e0072efbdc
Merge pull request #132 , allow namespaced keywords
2017-04-05 21:11:45 -07:00
Tom Connors
bdfee0883e
Fix using maps with different key orders in :values
2017-03-24 00:18:04 -07:00
Michael Blume
7b61250b2d
Merge pull request #149 from zeekat/master
...
Fix operator/function calls in value positions
2017-03-10 19:39:40 -08:00
Joost Diepenmaat
f8b913d667
Fix operators in value positions
2017-02-17 10:21:23 +01:00
Joost Diepenmaat
5e7e224df4
Show problem with operators in value positions
2017-02-17 10:20:40 +01:00
Michael Blume
4b79536a75
Begin 0.8.3 release cycle.
2016-12-31 23:16:06 -08:00
Michael Blume
05fae8cb98
Cut 0.8.2 release.
2016-12-31 23:14:33 -08:00
Michael Blume
9edf99e136
update changelog for subclause change
2016-12-31 23:13:32 -08:00
Michael Blume
d07a1a3764
Merge pull request #143 from rnewman/patch-1
...
Update README example to match #142 .
2016-11-07 14:13:10 -08:00
Richard Newman
29f3cd1099
Update README example to match #142 .
2016-11-06 12:29:37 -08:00
Michael Blume
160e2821b8
Merge pull request #142 from rnewman/rnewman/union-paren
...
Don't parenthesize the subclauses of a UNION, UNION ALL, or INTERSECT clause.
2016-11-06 00:57:49 -07:00
Richard Newman
a0d0880ac6
Add an additional test for phrasing complex UNION queries.
2016-10-12 09:26:51 -07:00
Richard Newman
9dd87d14a0
Don't parenthesize the subclauses of a UNION, UNION ALL, or INTERSECT clause. Fixes #141 .
2016-10-12 08:50:54 -07:00
Michael Blume
40fce0efc4
Begin 0.8.2 release cycle.
2016-09-25 15:32:33 -07:00
Michael Blume
01f42182fa
Cut 0.8.1 release.
2016-09-25 15:32:14 -07:00
Michael Blume
48882442ac
add changelog for union-all change
2016-09-25 15:29:56 -07:00
Michael Blume
3cdaa5ef96
Merge pull request #140 from seancorfield/master
...
Address #138 : add priority for union/union-all
2016-09-17 16:26:45 -07:00
Sean Corfield
6a0eacdd5f
Address #138 : add priority for union/union-all
...
By prioritizing union / union-all to happen early on, complex queries
with order by / limit / offset etc will be correctly formatted _after_
the union / union-all clause has been formatted.
2016-09-13 19:50:50 -07:00
Michael Blume
d700034f62
Begin 0.8.1 release cycle.
2016-08-05 11:11:19 -07:00
Michael Blume
64bf2f6188
Cut 0.8.0 release.
2016-08-05 11:09:46 -07:00
Michael Blume
f00855c30b
Merge pull request #130 from rnewman/rnewman/rebase
...
ClojureScript support (fixes #117 )
2016-08-04 19:55:14 -07:00
Dave Della Costa
d5a0784e16
Merge pull request #133 from ddellacosta/master
...
Add link to nilenso's PostgreSQL extension lib
2016-07-20 16:39:51 -04:00
Richard Newman
f9546af9ca
Make defhelper work.
2016-07-18 14:13:10 -07:00
Richard Newman
ec03b7c06f
ClojureScript doesn't have IRecord, but we should be using record? anyway.
2016-07-18 14:12:01 -07:00
Richard Newman
0539e33d9a
Get tests running with 'lein doo'.
2016-07-18 14:12:01 -07:00