Sean Corfield
190958b74e
fix #256 by documenting the new macros
2023-09-24 14:07:46 -07:00
Sean Corfield
9ea5b172bb
add on-connection+options #256
2023-08-09 22:47:39 -07:00
Sean Corfield
cd214cb17e
remove incorrect type hint #256
2023-08-09 22:12:38 -07:00
Sean Corfield
044de70b49
address #256 by adding with-transaction+options
2023-08-09 19:35:25 -07:00
Sean Corfield
ca23277d42
fix #251 by adding timing mention to with-logging
2023-06-10 19:26:21 -07:00
Sean Corfield
06f9baea01
fix #254 by adding active-tx?
2023-06-10 11:24:07 -07:00
Sean Corfield
3d512a8f04
fix #248 by supporting :port :none
2023-04-13 23:53:45 -07:00
Sean Corfield
6f33d5bde2
address #242
2023-03-12 17:17:39 -07:00
Sean Corfield
4104832be3
improve docstring formatting
2022-04-05 13:49:37 -07:00
Sean Corfield
03092d023f
fix #204 by adding on-connection macro
2022-04-04 16:54:18 -07:00
Sean Corfield
21a520a8d8
make execute-batch! work for with-logging
2021-12-23 22:00:09 -08:00
Sean Corfield
6cf2cd52b8
improve with-transaction docstring #188
2021-10-19 10:16:34 -07:00
Sean Corfield
5a9afd5337
fixes #181 part 2
2021-10-01 10:59:15 -07:00
Sean Corfield
2cef41d9ae
fixes #181
2021-09-30 10:08:19 -07:00
Sean Corfield
9cd75dc4b2
fixes #169 by expanding with-transaction docs
2021-07-15 20:06:19 -07:00
Sean Corfield
6fe7d5b91c
Fixes #166 by handling exceptions when logging
2021-06-12 13:47:22 -07:00
Sean Corfield
164572969b
Fixes #167 by adding property separator
2021-06-09 19:14:41 -07:00
Sean Corfield
b961ef0451
Add optional result logging and state passthru
2021-05-20 18:37:42 -07:00
Sean Corfield
92db8477bf
Add experimental with-logging wrapper
2021-05-20 17:31:20 -07:00
Sean Corfield
800baf3085
Fixes #164 by making CSK dependency direct
2021-05-02 19:46:56 -07:00
Sean Corfield
7e13e719ce
Fixes #161 by adding batch execution for connectable/SQL
2021-03-15 15:16:59 -07:00
Sean Corfield
c7881fe078
Prep for 1.1.643; switch to com.github.seancorfield
2021-03-06 15:15:41 -08:00
Sean Corfield
a1e51bf007
Fix #157 by adding next.jdbc/execute-batch!
...
This breaks the circular dependency completely.
`next.jdbc.prepare/execute-batch!` is deprecated.
2021-01-30 16:36:05 -08:00
Sean Corfield
dc240652fc
It's 2021
2021-01-29 16:13:05 -08:00
Sean Corfield
5737495c4e
Fixes #144 ; prep for 1.1.613 release
2020-11-05 12:47:21 -08:00
Sean Corfield
67eadf1bbb
Merge branch 'develop' of github.com:seancorfield/next-jdbc into develop
2020-09-21 11:19:29 -07:00
Sean Corfield
c2ebaa36fd
Addresses #140 by adding duckdb
...
Next I'll see what test changes are needed to make this fully supported.
2020-09-21 11:19:13 -07:00
Sean Corfield
0142b25dc6
Add note to with-options docstring about usage in Getting Started section
2020-09-20 12:17:21 -07:00
Sean Corfield
049f34e311
Fixes #137 by adding user/password arities to get-connection
...
Also calls `.getConnection` with user/password under the hood if those
are present in the `opts` hash map.
2020-07-31 11:56:22 -07:00
Sean Corfield
931023de09
Address #121 by adding conditional builders/options for CSK
2020-07-08 11:52:22 -07:00
Sean Corfield
c09d72f187
Fixes #116 by documenting multiple result sets
2020-06-27 16:10:23 -07:00
Sean Corfield
68d8f98d26
Document folding over plan #125
2020-06-26 21:31:43 -07:00
Sean Corfield
b9b77bb40f
Fixes #122 by adding next.jdbc/with-options
2020-06-22 16:38:13 -07:00
Vincent Cantin
6f35f84a0e
Add default data-source settings for MariaDB.
2020-03-17 00:22:13 +08:00
Sean Corfield
a1ef07d1ad
Update README to drive people to cljdoc.org for documentation
2020-03-04 15:06:43 -08:00
Sean Corfield
eb722b502e
Fixes #93 by improving documentation about datafiable-row
2020-02-28 10:54:28 -08:00
Sean Corfield
7603e257e9
Link get-datasource docstring to dbtypes in next.jdbc.connection
2020-02-10 15:11:13 -08:00
Sean Corfield
425d1c367c
Extend copyright to 2020
2020-01-01 13:13:41 -08:00
Sean Corfield
a2ba8ff780
Fixes #82 and adds next.jdbc.prepare/statement
2019-12-20 15:45:22 -08:00
Sean Corfield
e404c47d83
Fixes #74 by mollifying Eastwood
2019-11-13 10:40:59 -08:00
Sean Corfield
8c75e3a546
Addresses #69 by expanding docs for execute-one!
...
Updates include adding notes on `execute!`, `execute-one!`, and `plan`
in the README, as well as expanding the docstrings for those functions.
2019-10-11 11:26:41 -07:00
Sean Corfield
6c42d7ce67
Fixes #66 by adding support for :jdbcUrl in db-spec hash map
2019-09-27 13:06:45 -07:00
Sean Corfield
f95467a34c
Improve docs for insert-multi! / execute-batch!
...
Call out the caveats more clearly. Note that Oracle doesn't support the
`insert-multi!` syntax(!).
2019-08-22 13:09:07 -07:00
Sean Corfield
8e4ef3033c
Note :none as possible value for :host
2019-07-15 13:51:23 -07:00
Sean Corfield
44dba4f29c
Fixes #46 by allowing :host :none
...
Also adds `:dbname-separator` and `:host-prefix` for fine-grained
control over the JDBC URL format.
2019-07-11 15:43:49 -07:00
Sean Corfield
bb753f363b
Fixes #45 by adding TimesTen driver suport
2019-07-10 19:32:24 -07:00
Sean Corfield
1cec0a2643
Fixes #37 ; Fixes #36
...
* Fix `with-transaction` spec and how it invokes `transact` when no
options map is provided.
* Adds type hint to `with-transaction`.
* Document manual rollback of transactions.
2019-07-02 16:45:48 -07:00
Sean Corfield
b4331146ff
Stop Joker flagging some ns as unused
...
These are pulled into `next.jdbc` to extend/implement protocols only.
2019-06-07 17:39:58 -07:00
jet
df1c38c03f
Correct documentation for transact and with-transaction
...
Previously both functions were documented as taking a `Connectable`
object. This amends the documentation as well as the fn signature to
take a `Transactable` object.
2019-06-02 12:07:01 -04:00
Sean Corfield
382d1bef10
Fix #24 by adding type hints
2019-05-29 13:51:11 -07:00