Commit graph

1035 commits

Author SHA1 Message Date
Michael Blume
524887a9cd test SET after JOIN 2018-04-16 00:03:35 -07:00
Michael Blume
fcdf326968 Put SET after JOIN
Fix #200
2018-04-15 23:51:35 -07:00
Michael Blume
43e94bf497
Merge pull request #201 from vincent-dm/master
adds support for JOIN ... USING (...) syntax (#188)
2018-04-12 23:39:59 -07:00
Michael Blume
3fe5f0f51d
Merge pull request #209 from juvenn/customized-parameterizer
Support register customized parameterizer
2018-03-24 21:09:26 -07:00
Michael Blume
275ca85c45
Merge pull request #197 from danielcompton/patch-1
Add Deps Versions dependency status
2018-03-13 21:46:29 -07:00
Michael Blume
0eff12e4a6 Cut 0.9.2 release 2018-03-13 21:39:38 -07:00
Michael Blume
c27084cf75
Merge pull request #210 from arichiardi/changelog-0.9.2
Add Changelog 0.9.2
2018-03-13 21:38:02 -07:00
Andrea Richiardi
b0570aae13 Add Changelog 0.9.2 2018-03-13 15:01:14 -07:00
Juvenn Woo
e874a6114d
Replace alter-var-root with atom for parameterizers 2018-03-09 14:11:50 +08:00
Juvenn Woo
2abe128008
Support register customized parameterizer 2018-03-09 11:54:14 +08:00
Michael Blume
1e76bc00ca
Merge pull request #208 from arichiardi/publish-on-npm
Add package.json for npm deployment
2018-02-20 21:55:30 -08:00
Andrea Richiardi
96e63dce28 Tweak Travis 2018-02-20 11:11:04 -08:00
Andrea Richiardi
9fd33284e7 Add package.json for npm deployment 2018-02-20 11:07:32 -08:00
Michael Blume
36a40bc67c
Merge pull request #205 from visibletrap/remove-nil-pred-from-and
Remove nil predicate from :and
2018-02-19 21:39:09 -08:00
Nuttanart Pornprasitsakul
3206b099df Remove nil predicate from :and 2018-02-18 13:27:07 +07:00
Michael Blume
caf904a40d
Merge pull request #204 from visibletrap/master
Remove nil argument to where
2018-02-15 22:51:21 -08:00
Nuttanart Pornprasitsakul
15af00e0de Remove nil argument to where 2018-02-15 22:44:13 +07:00
Michael Blume
3588768970
Merge pull request #195 from madvas/master
Fix #193
2018-02-10 23:50:22 -08:00
Michael Blume
8ad38d28af
Merge pull request #196 from emidln/emidln/insert-into-drop-parens
Avoid wrapping QUERY with parens while formatting INSERT INTO ... QUERY
2018-02-10 23:48:01 -08:00
Michael Blume
baee219c51
Merge pull request #199 from xiongtx/198-value-context
[198] Limit value context to sequences in value positions
2018-02-10 23:47:00 -08:00
Vincent
8a6ecd94aa adds support for JOIN ... USING (...) syntax (#188) 2018-01-16 03:13:14 +01:00
Tianxiang Xiong
ccff2d2c23 Limit value context to sequences in value positions
Fix #198
2018-01-09 23:42:53 -08:00
Daniel Compton
dfcaf1c8e9
Add Deps Versions dependency status 2017-12-18 21:35:48 +13:00
Brandon Adams
c7df208e3e Avoid wrapping QUERY with parens while formatting INSERT INTO ... QUERY
This also adds a test using honeysql.format/format for an existing
format-clause test case for :insert-into which encodes the previously
failing behavior.
2017-12-12 16:09:31 -06:00
madvas
54b620d0f9 Fix #193 2017-11-29 19:41:35 +01:00
Michael Blume
faba02f2b4
Merge pull request #186 from arichiardi/parameterizer-none
Add :parameterizer :none option
2017-11-15 21:23:11 -08:00
Michael Blume
a8629773f9
Merge pull request #189 from kenfehling/patch-1
Add :intersect to default-clause-priorities
2017-11-15 21:21:24 -08:00
Ken Fehling
7f64e26984
Add :intersect to default-clause-priorities 2017-11-15 18:59:54 -05:00
Michael Blume
203b23e586
Merge pull request #187 from arichiardi/travis-tach
Add tach testing to Travis
2017-11-11 14:15:46 -08:00
Andrea Richiardi
34d54e4fff Add tach testing to Travis 2017-11-07 14:21:52 -08:00
Michael Blume
c839565cfe
Merge pull request #185 from arichiardi/self-host-w-macrovich
Add ClojureScript self-host support
2017-11-06 21:57:33 -08:00
Andrea Richiardi
6cf89436d4 Add :parameterizer :none option
Sometimes you want to completely skip using parameters.

Postgres, in particular, complains with cryptic "syntax error at or near "$1"
whenever query parameters cannot be used for the query. An example would be
CREATE TABLE queries where the only parameters are the VARCHAR size.

This patch adds a :none option to :parameterizer which completely skips
parameter filling (and numbering), returning the SQL string only.
2017-11-06 17:13:02 -08:00
Andrea Richiardi
65037939b2 [Fix #167] Add ClojureScript self-host support
This patch uses the wonderful cgrand/macrovich for supporting both JVM and
self-host ClojureScript. The library avoids destructive code changes, no
namespaces were moved.

The patch also adds a runner for self-host tests by adding the lein-tach
plugin. Tests can be launched with:

  lein tach lumo (or planck)

See the lein-tach README for details.
2017-11-01 10:13:47 -07:00
Colin Yates
b105b2f2e5 Added doc to use custom datatypes re: #177 (#179) 2017-08-26 11:39:04 -07:00
Vincent Storme
36239778ef Update copywrite year to current
... it's almost 2018
2017-08-26 11:27:03 -07:00
Michael Blume
af3c5e1691 Cut 0.9.1 release 2017-08-25 09:13:33 -07:00
Michael Blume
7256f7afba Revert "Merge pull request #169"
Revert the reversion, keep the behavior from 0.9.0, vectors will be
primarily used for function calls.
2017-08-25 09:12:53 -07:00
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