Commit graph

343 commits

Author SHA1 Message Date
Sean Corfield
6972c73ccb Add shell script to mimic TravisCI test run 2018-06-26 16:23:48 -07:00
Sean Corfield
1e6b1bd308 Indicate post-0.9.2 dev 2018-06-26 16:01:45 -07:00
Sean Corfield
5b533cf1e0 Enable basic clj/tools.deps.alpha support 2018-06-26 15:57:46 -07:00
Sean Corfield
0c44eaa6e7 Fix #215 by adding select alias example 2018-06-25 13:00:42 -07:00
Sean Corfield
cc9b786602 Fix #213 by add raw/inline explanations to README 2018-06-25 12:30:48 -07:00
Sean Corfield
83f16780b0 Add #sql/inline data reader 2018-06-25 12:30:15 -07:00
Sean Corfield
1167a2ff25 Ignore dist folder 2018-06-25 12:29:53 -07:00
Sean Corfield
eaab8e8784
Merge pull request #214 from xlevus/feature/parameterizer-multimethod
Refactored parameterizer to use mutimethods
2018-06-23 22:53:53 -07:00
Chris Targett
f778419cb9 Refactored parameterizer to use mutimethods
It was briefly mentioned in #honeysql on clojurians.slack.com that this
mechanism of extension uses a register method and an atom to support
extension when multimethods are used elsewhere.
2018-05-15 21:22:32 +01:00
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