Liking cljdoc? Tell your friends :D

schema-voyager.db.query

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.
raw docstring

attr-edgesclj/s

(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.
sourceraw docstring

attribute-by-identclj/s

(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.
sourceraw docstring

coll-edgesclj/s

(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.
sourceraw docstring

collection-by-type-and-nameclj/s

(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.
sourceraw docstring

collections-by-typeclj/s

(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.
sourceraw docstring

colls-edgesclj/s

(colls-edges db)

Diagram query: All the edges in the whole db.

Diagram query: All the edges in the whole db.
sourceraw docstring

entity-spec-by-identclj/s

(entity-spec-by-ident db ident)

Page query: data for an entity spec page.

Page query: data for an entity spec page.
sourceraw docstring

entity-specsclj/s

(entity-specs db)

Page query: entity specs for the homepage.

Page query: entity specs for the homepage.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close