https://github.com/inqwell/entity-txn
CRUD Transactions in Clojure
https://github.com/inqwell/entity-txn
clojure crud transactions
Last synced: 9 months ago
JSON representation
CRUD Transactions in Clojure
- Host: GitHub
- URL: https://github.com/inqwell/entity-txn
- Owner: inqwell
- License: epl-1.0
- Created: 2018-02-13T13:25:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-30T11:14:35.000Z (over 6 years ago)
- Last Synced: 2025-03-06T09:46:16.872Z (over 1 year ago)
- Topics: clojure, crud, transactions
- Language: Clojure
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.