Query a DataScript DB.
The primary purpose of these queries is to render each of the pages and diagrams in the web UI. But they are also usable from a REPL (and tests) to understand what data is being pulled out of the DataScript DB.
Query a DataScript DB. The primary purpose of these queries is to render each of the pages and diagrams in the web UI. But they are also usable from a REPL (and tests) to understand what data is being pulled out of the DataScript DB.
(attr-edges db attr)Diagram query: All the edges that this attribute joins. Can be many for tuple-references.
Diagram query: All the edges that this attribute joins. Can be many for tuple-references.
(attribute-by-ident db ident)Page query: data for an entity page, either a constant or an attribute.
Page query: data for an entity page, either a constant or an attribute.
(coll-edges db coll)Diagram query: All the edges either into or out of this collection.
Diagram query: All the edges either into or out of this collection.
(collection-by-type-and-name db collection-type collection-name)Page query: data for a collection page, either an aggregate or an enum.
Page query: data for a collection page, either an aggregate or an enum.
(collections-by-type db collection-type)Page query: collections for the homepage. The collection-type specifies
whether you retrieve :enums or :aggregates.
Page query: collections for the homepage. The `collection-type` specifies whether you retrieve `:enum`s or `:aggregate`s.
(colls-edges db)Diagram query: All the edges in the whole db.
Diagram query: All the edges in the whole db.
(entity-spec-by-ident db ident)Page query: data for an entity spec page.
Page query: data for an entity spec page.
(entity-specs db)Page query: entity specs for the homepage.
Page query: entity specs for the homepage.
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 |