(entity->assoc-db dopts opts entity)
try to load from database based on unique attributes. If found in database, add :db/entity with entity from database.
try to load from database based on unique attributes. If found in database, add :db/entity with entity from database.
(entity->empty? entity)
entity->diff removed all other attributes
entity->diff removed all other attributes
(entity->replace-ids opts id->id entity)
assume entity is already flat; refs replaced with ids
assume entity is already flat; refs replaced with ids
(flat-entities->entity opts fes)
(flat-entities->entity opts id->fe root)
assumes that root is (last [fes])
assumes that root is (last [fes])
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 |