Skip to content

Commit b8375f5

Browse files
committed
#2 - Refactor to functional usage of resources.
DatabaseClient now creates functions. The actual invocation/execution takes place from DefaultFetchFunctions (FetchSpec) to keep stateful resources in the scope of the execution. execute()/executeMany() use Flux.usingWhen/Mono.usingWhen to release connections after their usage.
1 parent f490c1f commit b8375f5

File tree

2 files changed

+202
-82
lines changed

2 files changed

+202
-82
lines changed

0 commit comments

Comments
 (0)