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.
1.1 KiB
1.1 KiB
0.5.3 In development
- Convert seq param values to literal sql param lists (@dball)
- Apply seq to sets when converting to sql (@dball)
- Support locking selects (@dball)
- Add sql array type and reader literal (@loganmhb)
0.5.2
- Add value type to inhibit interpreting clojure sequences as subqueries (@MichaelParam)
- Improve documentation (@hlship)
- Add type hints to avoid reflection (@MichaelBlume)
- Allow database-specific query parameterization (@icambron, @MichaelBlume)
0.5.1
- Add :url to project.clj (@MichaelBlume)
0.5.0
- Support basic common table expressions (:with, :with-recursive) (@akhudek)
- Make clause order extensible (@MichaelBlume)
- Support extended INSERT INTO...SELECT syntax (@ddellacosta)
- Update clojure version to 1.6.0 (@MichaelBlume)
- Implement ToSql on Object, vastly improving performance (@MichaelBlume)
- Support CAST(foo AS type) (@senior)
- Support postgres-native parameters (@icambron)
- Support :full-join (@justindell)
- Expose :arglist metadata in defhelper (@hlship)
- Improvements to the documentation, especially showing some recently added features, such as inserts and updates.