Skip to content

gethop-dev/sql-utils

Repository files navigation

ci-cd Clojars Project

sql-utils

A Clojure library designed as a thin convenience wrapper over clojure.java.jdbc. It wraps most used clojure.java.jdbc methods in transactions and logs all query results details (for both successful and failed ones) to the provided logger.

The logger must implement the duct.logger/Logger protocol. Note that nil is valid logger value, although not a very useful one (all log entries are discarded).

Installation

Clojars Project

Usage

See API Docs and clojure.java.jdbc documentation.

License

Copyright (c) 2022 Magnet S. Coop

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/

About

A library designed as a thin convenience wrapper over clojure.java.jdbc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •