Creates a single assertion about the given entity id id
.
Creates a single assertion about the given entity id id
.
In Clojure, this is equivalent to:
[:db/add entity-id attribute value]
val totoName = Fact.add(DId(Partition.USER))( person / "name" -> "toto")
a value that can be used as an entity id (AsEntityId)
a tuple (Keyword, U
)
where value can be of any type that can be cast to a Datomic value type (ToDatomicCast)
Creates a single retraction about the given entity id id
.
Creates a single retraction about the given entity id id
.
In Clojure, this is equivalent to:
[:db/retract entity-id attribute value]
val totoName = Fact.retract(eid)( person / "name" -> "toto")
a value that can be used as a permament entity id (AsPermanentEntityId)
a tuple (Keyword, U
)
where value can be of any type that can be cast to a Datomic value type (ToDatomicCast)