Michael Blume
f8a2eedf45
demonstrate incorrect raw/call behavior
2016-02-09 14:07:51 -08:00
Jon Doane
93e66c90c4
Minor README typo.
2015-10-19 12:36:46 -07:00
Michael Blume
d164d53a35
Begin 0.6.3 development cycle
2015-10-19 12:36:23 -07:00
Michael Blume
83624a85ca
Cut 0.6.2 release.
2015-10-19 12:31:57 -07:00
Michael Blume
0c9474a833
update CHANGES
2015-10-19 12:31:34 -07:00
Jon Doane
62947623c9
Updated README with examples of dashed names.
2015-10-19 12:30:33 -07:00
Michael Blume
607ee17cca
Merge pull request #95 from emidln/emidln/with_column_names
...
Support column names in :with clauses
2015-10-18 11:07:03 -07:00
Michael Blume
d1eb29b28f
Merge pull request #93 from jrdoane/master
...
Added support for preserving dashes in quoted names.
2015-10-13 23:36:08 -07:00
Brandon Adams
10a1565467
Support column names in :with clauses
...
This binds `honeysql.format/*subquery?*` to `false` which turns
on processing of a cte-name like `[:foo {:columns [:a :b :c]}]`
resulting in a string like `WITH foo (a, b, c)`.
2015-10-12 15:13:16 -05:00
Jon Doane
4b1f26632e
Add a "huh" on the allow-dashed-names option on honeysql.format/format.
2015-10-11 12:14:47 -04:00
Jon Doane
f38668edc6
Added one more assertion to test dashed names that are split by periods.
2015-10-11 11:38:50 -04:00
Jon Doane
7e78b10ae4
Added simple test to check for preserved dashes when the var is bound to true.
2015-10-11 11:29:55 -04:00
Jon Doane
1f6e9151fd
Updated default for allowing dashes.
2015-10-11 11:03:03 -04:00
Jon Doane
95e208485a
Added support for preserving dashes in quoted names.o
2015-10-11 10:47:14 -04:00
Dave Della Costa
ee2b778d52
Merge pull request #89 from dball/document-unions
...
Document the correct use of the :union clause
2015-08-26 11:22:58 +09:00
Donald Ball
ec2cd1cd29
Document the correct use of the :union clause
...
My co-workers and I naively expected to include the :union in the
primary query, not as a container. This is a good representation, but
merits explanation.
2015-08-25 11:25:05 -04:00
Dave Della Costa
19b629cb30
Merge pull request #88 from ddellacosta/master
...
adds tests for :union and :union-all
2015-08-26 00:14:11 +09:00
Dave Della Costa
2123c01fb5
adds tests for :union and :union-all
2015-08-26 00:11:29 +09:00
Dave Della Costa
22b0d15283
Merge pull request #83 from loganlinn/case-fn-handler
...
Add fn-handler for CASE statement
Haven't heard back from others but I'm going to assume no objection to this one as it is standard SQL and comes well tested.
2015-08-25 22:51:14 +09:00
loganlinn
b51611d4d6
Add fn-handler for CASE statement
2015-08-06 11:29:54 -07:00
Michael Blume
7001826d4b
use Clojure 1.7
2015-06-30 18:27:27 -07:00
Mike Blume
81f2c72675
one more field accessor
2015-06-15 15:54:27 -07:00
Mike Blume
fae5545e8a
move format-predicate down
2015-06-15 15:54:27 -07:00
Mike Blume
38e3812e66
just call it to-sql
2015-06-15 15:54:26 -07:00
Mike Blume
cb296e2e31
avoid boilerplate using defrecord
2015-06-15 15:44:35 -07:00
Mike Blume
04a7086687
be clear that these are field accessors
...
not function calls
2015-06-15 15:44:34 -07:00
Mike Blume
d792a9d285
Begin 0.6.2 development cycle
2015-06-06 19:03:12 -07:00
Mike Blume
f0c40a960c
Cut 0.6.1 release
2015-06-06 18:57:39 -07:00
Michael Blume
bf7c6c67b2
Merge pull request #78 from dball/fix-parameterizable-for-nil
...
Fix the parameterizable protocol to include nil
2015-05-20 12:10:33 -07:00
Donald Ball
713f72cfb6
Fix the parameterizable protocol to include nil
...
I forgot that Object doesn't include nil on protocols.
I added test coverage demonstrating the regression, only to note that
parameterized and literal queries produce different sql for the nil
case. I believe only the former is actually valid ANSI SQL, though mysql
at least does not care.
2015-05-20 11:23:36 -04:00
Mike Blume
6e36c7c1f8
begin 0.6.1 development cycle
2015-05-10 10:00:35 -07:00
Mike Blume
900aebd80b
cut 0.6.0 release
2015-05-10 09:56:54 -07:00
Mike Blume
24ec437c17
ignore .lein-repl-history
2015-05-08 16:41:50 -07:00
Mike Blume
115ac81fee
Merge pull request #74
2015-05-08 16:41:11 -07:00
Mike Blume
f752de70f9
begin 0.6.0 development cycle
2015-05-08 16:38:14 -07:00
Mike Blume
0e06499aed
cut 0.5.3 release
2015-05-08 16:00:38 -07:00
Mike Blume
6b64743315
add pname to *param-names* once per value
...
keep *params* and *param-names* at the same count
2015-05-08 14:23:28 -07:00
Michael Blume
1a4f5c0acd
Merge pull request #76 from cddr/add-support-for-exists-clause
...
[#75 ] Add support for exists
2015-05-08 14:00:49 -07:00
Mike Blume
0d6eebc91a
add .nrepl-port to .gitignore
2015-05-08 13:58:40 -07:00
Andy Chambers
203296149f
Add support for exists
2015-04-24 08:08:13 -07:00
Mike Blume
14f9c9160f
add null order work to changelog
2015-04-21 17:49:41 -07:00
Donald Ball
4bdaae39af
Convert seq param values to literal sql param lists
...
This allows seqs to be used as param values, e.g. for IN clauses. It
also converts sets to seqs for the same purpose.
It does not expand the parameter name when this occurs, which will lead
to a mismatch between the *param-names* and *params* collections. It is
not clear how *param-names* are intended to be used, so I have no better
fix to suggest other than repeating a seq's param name the corresponding
number of times into that collection.
2015-04-21 14:28:28 -04:00
Donald Ball
2820662f59
Apply seq to sets when converting to sql
...
This allows them to be used as values, e.g. for in clauses, as
demonstrated in the test.
2015-04-20 23:40:59 -04:00
Michael Blume
53b37c1c10
Merge pull request #72 from dball/document-locking-selects
...
Document locking selects
2015-04-19 19:00:19 -07:00
Donald Ball
da88383cc0
Document locking selects
2015-04-19 21:57:44 -04:00
Mike Blume
72784452b9
Merge remote-tracking branch 'dball/support-locking-selects' into HEAD
2015-04-17 14:25:23 -07:00
Michael Blume
198115fb84
Merge pull request #69 from mishok13/nulls-first-last-in-order-by
...
NULL order specification support
2015-04-17 14:20:23 -07:00
Michael Blume
bc8d2414cf
Merge pull request #71 from dball/backfill-changes
...
Backfill the recent commits into the CHANGELOG
2015-04-17 13:59:16 -07:00
Donald Ball
43f8d5010f
Backfill the recent commits into the CHANGELOG
...
This helps dependent projects review their integration to determine if
any need to be changed when they update honeysql.
2015-04-17 15:59:45 -04:00
Donald Ball
bc0b7e904f
Support locking selects
...
This will need documentation before being merged.
2015-04-17 15:15:23 -04:00