Entity to triple mapping for the transaction api. This handles conversion of entities as well as managing updates.
Entity to triple mapping for the transaction api. This handles conversion of entities as well as managing updates.
(build-triples db data)
Inputs: [db :- DatabaseType data :- [s/Any]] Returns: [(s/one [Triple] "Data to be asserted") (s/one [Triple] "Data to be retracted") (s/one #:s{Any s/Any} "ID map of created objects")]
Converts a set of transaction data into triples. Returns a tuple containing [triples removal-triples tempids]
Inputs: [db :- DatabaseType data :- [s/Any]] Returns: [(s/one [Triple] "Data to be asserted") (s/one [Triple] "Data to be retracted") (s/one #:s{Any s/Any} "ID map of created objects")] Converts a set of transaction data into triples. Returns a tuple containing [triples removal-triples tempids]
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 |