You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+5-8
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ Asami has a query API that looks very similar to a simplified Datomic. More deta
17
17
## Features
18
18
There are several other graph databases available in the Clojure ecosystem, with each having their own focus. Asami is characterized by the following:
19
19
- Clojure and ClojureScript: Asami runs identically in both systems.
20
+
- Schema-less: Asami does not require a schema to insert data.
20
21
- Query planner: Queries are analyzed to find an efficient execution plan. This can be turned off.
21
22
- Analytics: Supports fast graph traversal operations, such as transitive closures, and can identify subgraphs.
22
23
- Integrated with Loom: Asami graphs are valid Loom graphs, via [Asami-Loom](https://github.com/threatgrid/asami-loom).
23
-
- Schema-less: Asami does not require a schema to insert data.
24
24
- Open World Assumption: Related to being schema-less, Asami borrows semantics from [RDF](http://www.w3.org/TR/rdf-primer) to lean towards an open world model.
25
25
- Pluggable Storage: Like Datomic, storage in Asami can be implemented in multiple ways. There are currently 2 in-memory graph systems, and durable storage available on the JVM.
26
26
@@ -32,7 +32,7 @@ Asami can be made available to clojure by adding the following to a `deps.edn` f
32
32
```clojure
33
33
{
34
34
:deps {
35
-
org.clojars.quoll/asami {:mvn/version"2.0.6"}
35
+
org.clojars.quoll/asami {:mvn/version"2.1.0"}
36
36
}
37
37
}
38
38
```
@@ -41,14 +41,11 @@ This makes Asami available to a repl that is launched with the `clj` or `clojure
41
41
42
42
Alternatively, Asami can be added for the Leiningen build tool by adding this to the `:dependencies` section of the `project.clj` file:
43
43
```clojure
44
-
[org.clojars.quoll/asami "2.0.6"]
44
+
[org.clojars.quoll/asami "2.1.0"]
45
45
```
46
46
47
-
### Important Note for databases before 2.0.2
48
-
The Asami filenames were being stored with filenames that accidentally had multiple extensions. We decided to fix this immediately, rather than waiting for a major release. To update files from an earlier database, use the `update.sh` script. For a database that was created in the current directory with the name `asami:local://dbname` then run:
49
-
```bash
50
-
./update.sh dbname
51
-
```
47
+
### Important Note for databases before 2.1.0
48
+
Asami 2.1.0 now uses fewer files to manage data. This makes it incompatible with previous versions. To port data from an older store to a new one, use the `asami.core/export-data` function on a database on the previous version of Asami, and `asami.core/import-data` to load the data into a new connection.
52
49
53
50
### Running
54
51
The [Asami API](https://github.com/threatgrid/asami/wiki/Asami-API) tries to look a little like Datomic.
0 commit comments