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
Andrii V. Mishkovskyi
500b55775e
Handle :nulls-first and :nulls-last in order-by
...
This commit implements NULLS (FIRST | LAST) in ORDER BY clause, as
introduced by SQL:2003, link to grammar specification:
http://savage.net.au/SQL/sql-2003-2.bnf.html#sort%20specification%20list
Only PostgreSQL 8.4+ and Oracle 10+ support said feature as of
currently.
2015-04-17 12:33:30 +02:00
Andrii V. Mishkovskyi
7160b4b1ad
Adding tests for expected behavior
2015-04-17 12:29:20 +02:00
Andrii V. Mishkovskyi
04f0447c92
Corrected README example
2015-04-17 12:09:50 +02:00
Andrii V. Mishkovskyi
11d4ff37ec
Adding a comment for future reference
2015-04-16 21:23:19 +02:00
Andrii V. Mishkovskyi
76303c2ffe
Adding example of what I'm trying to achieve in the README
2015-04-16 20:21:21 +02:00
Michael Blume
dd47f9a0d2
Merge pull request #68 from loganmhb/sql-array
...
Sql array
2015-04-15 09:50:07 -07:00
Logan Buckley
f5c111a1be
Simplify -to-sql.
2015-04-15 10:39:33 -05:00
Logan Buckley
33ae0c4239
Remove unused require.
2015-04-15 10:37:46 -05:00
Logan Buckley
84387afaa5
Add SqlArray type and reader literal support.
2015-04-15 10:29:34 -05:00
Andrii V. Mishkovskyi
1ff93eb964
Adding stubs for future support of NULLS FIRST/LAST
2015-04-15 17:01:05 +02:00
Mike Blume
f410aed5a1
use a for loop
...
bit more readable
2015-04-01 12:32:42 -07:00
Niels van Klaveren
0803225582
Added DELETE clause that takes a FROM clause
...
Makes T-SQL join deletes possible
2015-04-01 12:28:00 -07:00
Mike Blume
3b74d14e32
begin 0.5.3 development cycle
2015-03-31 10:44:43 -07:00
Mike Blume
d8eece3e01
cut 0.5.2 release
2015-03-31 10:41:07 -07:00
Michael Blume
a7f331fd4a
Merge pull request #65 from MichaelBlume/value
...
Provide a wrapper to prevent maps/vectors from being read as subqueries
2015-03-31 10:33:51 -07:00
Mike Blume
0c89c0362e
add value test
2015-03-31 10:32:48 -07:00
Mike Blume
d74f2d2437
Allow maps/vectors not to be read as subqueries
2015-03-26 22:59:47 -07:00
Mike Blume
48c501d2c4
break out SqlParam as its own ToSql instance
2015-03-26 22:23:16 -07:00
Mike Blume
a996b93dd3
pull out a couple helpers for param logic
2015-03-26 22:23:14 -07:00
Howard M. Lewis Ship
a48ea1c4d2
Give an example of where combining terms using and
2015-03-24 17:31:07 -07:00
Howard M. Lewis Ship
921bb8f362
Add missing close bracket to insert-into example
2015-03-17 09:22:05 -07:00
Michael Blume
49096b59a4
Merge pull request #57 from MichaelBlume/avoid-reflection
...
avoid reflection
2015-03-16 12:45:55 -07:00
Mike Blume
ae7d42bd32
use case instead of condp
2015-03-16 12:32:30 -07:00
Mike Blume
c97f9a3a9d
avoid reflection
2015-03-15 23:32:41 -07:00
Mike Blume
ee227d7cd1
also ignore signed pom
2015-03-15 22:34:59 -07:00
Michael Blume
4add0b49e2
Merge pull request #55 from MichaelBlume/params-merge
...
support postgres-native parameters
2015-03-15 22:29:50 -07:00
Michael Blume
7f5011679c
Merge pull request #56 from MichaelBlume/build-badges
...
add build badges to readme
2015-03-15 18:37:33 -07:00
Mike Blume
f8809c883b
add build badges to readme
2015-03-15 17:59:44 -07:00
Michael Blume
f0be1d39ed
Merge pull request #52 from MichaelBlume/late-bind
...
late-bind custom readers
2015-03-15 12:46:01 -07:00
Mike Blume
27b906859d
simplify call to parameterizer
2015-03-15 11:03:07 -07:00
Mike Blume
7115456d9e
Merge remote-tracking branch 'upstream/master' into params-merge
2015-03-15 10:53:52 -07:00
Michael Blume
d6295a7fc6
Merge pull request #53 from MichaelBlume/format-format
...
format the format namespace a bit more nicely
2015-03-15 10:49:56 -07:00
Michael Blume
c243f5a157
Merge pull request #44 from MichaelBlume/travis
...
add travis config
2015-03-13 11:40:48 -07:00
Mike Blume
44a22e3787
format the format namespace a bit more nicely
2015-03-13 11:33:48 -07:00
Mike Blume
5329d020e6
late-bind custom readers
...
this much-less-invasively fixes the problem I was trying to fix in #48 .
In resources/data_readers.clj we direct clojure to use these functions
in honeysql.types to read tagged literals in EDN as SqlCalls, SqlRaws,
and SqlParams. Clojure does this by making a permanent binding to the
Vars for these functions which exist in honeysql.types when it starts
up. The trouble is that if someone is doing REPL-driven development
and calls clojure.tools.namespace.repl/refresh, those vars will be
wholely recreated, along with the deftype classes they point to.
This means that if there's a sql/call in a piece of edn we're reading,
we'll get an instance of the *old* SqlCall class, but if someone just
calls honeysql.types/call they'll get an instance of the *new* class.
These won't match up, and this'll cause some of the tests in core_tests
to fail.
This patch works around that by causing these custom reader functions
to resolve the helpers they call each time they are called, so we
always create instances of the new types if they've been redefined.
Again, this has basically zero effect on the end user, but it removes
a pain-point for someone using REPL-driven development to work on
honeysql itself.
2015-03-13 11:28:08 -07:00
Mike Blume
941a5b708a
add scm info to the project.clj
2015-03-12 14:36:16 -07:00
Mike Blume
bb77ba945f
quote this url
2015-03-12 14:36:16 -07:00
Mike Blume
42c29506a0
Merge remote-tracking branch 'icambron/parameter-fns' into HEAD
2015-03-09 23:31:17 -07:00
Mike Blume
3fb93d829c
Merge remote-tracking branch 'cloojure/patch-2' into HEAD
2015-03-09 21:56:48 -07:00
Dave Della Costa
a683d4674c
Bump version number to 0.5.1 on README.md
2015-03-10 11:52:35 +09:00
Mike Blume
0be5eb3638
begin 0.5.2 development cycle
2015-03-09 13:26:26 -07:00
Mike Blume
210b2c43ff
0.5.1
2015-03-09 13:23:34 -07:00
Mike Blume
1bec3a6143
add :url to project.clj
2015-03-09 12:08:29 -07:00
Mike Blume
e3b42d5cd9
begin 0.5.1 development cycle
2015-03-09 12:08:07 -07:00
Mike Blume
f8be9cccad
0.5.0
2015-03-09 09:59:01 -07:00
Mike Blume
34f84e41b4
Merge remote-tracking branch 'dave/master' into HEAD
2015-03-09 09:56:11 -07:00
Dave Della Costa
ae7a4fbb3d
Bump version to 0.5.0-SNAPSHOT, ref. #51
2015-03-09 13:42:08 +09:00
Dave Della Costa
11e6d1c017
Merge in Pull Request #34 , Support basic common table expressions.
2015-03-09 13:22:02 +09:00