Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/inqwell/entity-txn

CRUD Transactions in Clojure
https://github.com/inqwell/entity-txn

clojure crud transactions

Last synced: about 3 hours ago
JSON representation

CRUD Transactions in Clojure

Awesome Lists containing this project

README

        

# entity-txn

A Clojure library to support transactions for CRUD operations on domain type instances.

Documentation can be found [here](https://inqwell.github.io/entity-txn/index.html)

`entity-txn` can be used in conjunction with [`entity-core`](https://github.com/inqwell/entity-core)
and [`entity-sql`](https://github.com/inqwell/entity-sql) to provide a CRUD stack in Clojure and
burying SQL from your application code.

The library includes a lock manager, to lock and wait for arbitrary values when a transaction
requires exclusive access to a domain dataset.

## Usage

`[entity/entity-txn "0.1.3"]`

## TODO
Something like a pet store example for better illustration. In the
meantime the tests show individual use cases.

## License

Copyright © 2018 Inqwell Ltd

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.