Fixes #102 by supporting keywords in :return-keys

This commit is contained in:
Sean Corfield 2020-03-27 16:06:38 -07:00
parent f0c4159bff
commit 315d629202
2 changed files with 2 additions and 1 deletions

View file

@ -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:
* 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:`.
* 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.

View file

@ -77,7 +77,7 @@
(defn- ^{:tag (class (into-array String []))} string-array
[return-keys]
(into-array String return-keys))
(into-array String (map name return-keys)))
(defn create
"This is an implementation detail -- use `next.jdbc/prepare` instead.