Fixes #102 by supporting keywords in :return-keys
This commit is contained in:
parent
f0c4159bff
commit
315d629202
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ Only accretive/fixative changes will be made from now on.
|
||||||
|
|
||||||
The following changes have been made to **master** since the 1.0.409 build:
|
The following changes have been made to **master** since the 1.0.409 build:
|
||||||
|
|
||||||
|
* Fixes #102 by allowing keywords or strings in `:return-keys`.
|
||||||
* Fixes #101 by tightening the spec on a JDBC URL to correctly reflect that it must start with `jdbc:`.
|
* Fixes #101 by tightening the spec on a JDBC URL to correctly reflect that it must start with `jdbc:`.
|
||||||
* Add support for calling `.getLoginTimeout`/`.setLoginTimeout` on the reified `DataSource` returned by `get-datasource` when called on a hash map "db-spec" or JDBC URL string.
|
* Add support for calling `.getLoginTimeout`/`.setLoginTimeout` on the reified `DataSource` returned by `get-datasource` when called on a hash map "db-spec" or JDBC URL string.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
|
|
||||||
(defn- ^{:tag (class (into-array String []))} string-array
|
(defn- ^{:tag (class (into-array String []))} string-array
|
||||||
[return-keys]
|
[return-keys]
|
||||||
(into-array String return-keys))
|
(into-array String (map name return-keys)))
|
||||||
|
|
||||||
(defn create
|
(defn create
|
||||||
"This is an implementation detail -- use `next.jdbc/prepare` instead.
|
"This is an implementation detail -- use `next.jdbc/prepare` instead.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue