asami.core/release now accepts a URL as well as a connection.release and delete now remove connections from the global connection map.ex-info.clojure.core/format in ClojureScript.:id) to include entities being created in the same transaction.:db/add can now pick up negative IDs as temporary IDs for entities, both in the entity ID and with :db/id.tg namespace have been updated to use the a namespace. This keeps them short, and makes more sense for the project, which no longer has anything to do with "ThreatGrid".:db/ident and :id attributes may now use compound keys.asami.core/entity function now accepts Connections as well as Databases. This will select the latest database from the connection.asami.storage.Database/entity function is now required. This change should not affect most users, as this is an internal function and should be accessed with asami.core/entity, which has not changed.:id will now correctly select and update entities in transactions.:input-limit option to transact. When included, the transaction will attempt to keep at or below this number of triples.since and as-of database functions.transact-async has been added. On the JVM this will return a future that has not yet been completed. There is currently no difference between transact and transact-async for ClojureScript.delete-database on an in-memory database URL will clear any open connections of data. If data is transacted into the connection, it will be reattached to the database registry as if it had been freshly opened.:find clause appear in the :where clause.:in clause will now combine correctly during testing.asami.core/export-str. This is a shortcut to convert a data export to a string, suitable for clojure.core/spit, since the default will write this as a LazySeq label.asami.core/import-data now accepts an opts argument, the same way that edn readers do. This is used when reading from edn text.false.now and instant? from asami.core:id attribute can now be used as a synonym for :db/ident. These values are not removed from entities, unlike the :db attributes.:tg/owns edges to all sub structures that they own.:tempids of transactions.count-triple implemented to scan index tree with reduced block access.asami.Peer class. This is very early access.and and or.clojure.string can now be accessed in Clojure.count, count-distinct and sample can work on wildcards.count now de-duplicates, and count-distinct introduced.asami.query/*override-restrictions* flag to avoid restrictions.core/transact. This only affected code with schema validation.asami.core/transact to allow direct graph update operations.nested? flag to the entity function.delete-database function.:planner :user to the end of the query arguments.optional operator, as per the SPARQL OPTIONAL operation.show-plan function to observe how a query will be performed.:find clause now work for single elements, and with empty results.:in clause now works.' annotation (see Replacement Annotation doc for details)+ annotation on attributes (see Append Annotation doc for details)_ symbols as wildcards, and accept shortened constraints (not just triples):find clause syntaxes (see Find Clause Description doc for details)Can you improve this documentation? These fine people already did:
Paula Gearon & Jakub HolyEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |