Skip to main content

Module pull

Module pull 

Source
Expand description

The Pull API: declarative hierarchical selection from an entity.

Supports the full v1 grammar: attribute specs, *, reverse refs (:ns/_name), nested maps, :as/:limit/:default options, bounded and unbounded recursion ({:friend 6} / '...'), and component auto-recursion. Results are EDN maps keyed by attribute ident.

Functionsยง

pull
Pulls pattern for one entity, producing an EDN map (or nil when the entity has no matching datoms).
pull_many
Pulls pattern for each entity, preserving order.