Asami: Datomic-Like Graph Database
source link: https://www.tuicool.com/articles/hit/uYNbuiI
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
asami
An implementation of the Naga storage protocol in memory.
This has a query API that looks very similar to a simplified Datomic.
Usage
Create a store with:
(asami.core/create-store config)
Where config is a standard Naga config, but will be ignored.
Alternatively, just use the asami.core/empty-store
object.
Add data with: naga.store/assert-data
Query using: naga.store/query
Look at the naga.store/Storage
protocol (in threatgrid/naga-store
) for the full suite of functions to apply to the storage.
License
Copyright © 2018 Cisco
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK