https://github.com/blairnangle/learning-datomic
Code notes while learning Datomic.
https://github.com/blairnangle/learning-datomic
clojure datomic
Last synced: 2 months ago
JSON representation
Code notes while learning Datomic.
- Host: GitHub
- URL: https://github.com/blairnangle/learning-datomic
- Owner: blairnangle
- License: mit
- Created: 2024-07-09T21:24:54.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T21:27:48.000Z (10 months ago)
- Last Synced: 2025-01-19T13:25:55.353Z (4 months ago)
- Topics: clojure, datomic
- Language: Clojure
- Homepage:
- Size: 15.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Learning Datomic
Code notes while learning [Datomic](https://www.datomic.com/).
## References
- [Datomic/local setup instructions](https://docs.datomic.com/datomic-local.html)
- [Datomic/Client API tutorial](https://docs.datomic.com/client-tutorial/client.html)
- [datomic-pro-docker](https://github.com/gbaptista/datomic-pro-docker)## Configuration
I created `~/.datomic/local.edn` with the following contents:
```clojure
{:storage-dir "/Users/blairnangle/personal/learning-datomic/storage"}
```## Concepts
### Entities
Every datum in Datomic includes a database-unique entity id. They never change.
There are three ways to uniquely identify an entity:
- entity id
- ident - this associates a keyword with an entity id
- lookup ref### Datum (plural: datoms)
TBC
### Squuids
TBC
## License
Distributed under an [MIT License](./LICENSE).