Commit graph

944 commits

Author SHA1 Message Date
Dave Della Costa
f23d687423 Merge pull request #124 from MichaelBlume/fix-arglists
fix arglist metadata
2016-07-12 10:00:36 -06:00
Dave Della Costa
815389b58f add link to PostgreSQL extension lib, bump copyright year 2016-07-10 14:43:18 -04:00
Jon Doane
5b197f9756 Solve an issue where namespaced keywords and symbols where only taking the name portion of the identifier.
- This now checks if there is a namespace and prepends it to the name if it exists.
2016-07-09 10:37:33 -04:00
Michael Blume
634cad74cb Begin 0.7.1 development cycle. 2016-06-07 16:59:13 -07:00
Michael Blume
39482d49c2 Cut 0.7.0 release. 2016-06-07 16:58:56 -07:00
Michael Blume
93b62586ce Update changelog. 2016-06-07 16:58:08 -07:00
Michael Blume
3265e4e14d fix arglist metadata 2016-05-21 13:26:18 -07:00
Michael Blume
8c0e88db43 Merge pull request #122 from akhudek/master
Treat numbers as paramterized values to fix issues with NaN, Infinity…
2016-05-19 16:04:44 -07:00
Alexander Hudek
7397b3a48f Update tests for parameterized numbers. 2016-05-18 17:21:51 -04:00
Alexander K. Hudek
3ec65bd198 Treat numbers as paramterized values to fix issues with NaN, Infinity, and -Infinity. 2016-05-17 14:37:39 -04:00
Michael Blume
6bb6c2eaac Merge pull request #120 from MichaelBlume/fix-lock-example
fix lock example in readme
2016-05-07 11:14:11 -07:00
Michael Blume
1e6902d17e fix lock example in readme 2016-05-07 11:09:09 -07:00
Michael Blume
43df955a86 Merge pull request #111 from stuarth/master
allow joins without a pred
2016-03-30 23:10:18 -07:00
Michael Blume
d9567e64e0 Merge pull request #110 from csummers/master
escape quote characters in quoted identifiers
2016-03-12 17:33:09 -08:00
Dave Della Costa
0662a00722 Merge pull request #103 from jakemcc/add-intersect
add intersect support
2016-03-02 12:37:17 -05:00
Stuart Hinson
80e9d2ec44 allow joins without a pred 2016-03-01 09:39:21 -05:00
Curtis Summers
47cefd0371 escape quote characters in quoted identifiers 2016-02-24 06:45:49 -06:00
Michael Blume
a25ce4db5d upgrade Clojure dependency 2016-02-09 14:59:00 -08:00
Michael Blume
971e542b29 Begin 0.6.4 development cycle 2016-02-09 14:56:22 -08:00
Michael Blume
c4278f2370 Cut 0.6.3 release. 2016-02-09 14:54:51 -08:00
Michael Blume
61cd800aa2 Merge pull request #108 from MichaelBlume/maps-records
prevent records from being treated as maps
2016-02-09 14:50:33 -08:00
Michael Blume
06c97376ef prevent records from being treated as maps
Thanks to @djwhitt and @blinsay for reporting and for providing
test cases.

Fixes #106
2016-02-09 14:09:22 -08:00
Michael Blume
f8a2eedf45 demonstrate incorrect raw/call behavior 2016-02-09 14:07:51 -08:00
Jake McCrary
8fa44d22b3 add INTERSECT support 2015-11-29 17:49:45 -06: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