MCPcopy Create free account
hub / github.com/comnik/declarative-dataflow / add

Method add

src/lib.rs:200–202  ·  view source on GitHub ↗

Creates TxData representing the addition of a single fact.

(e: Eid, a: &str, v: Value)

Source from the content-addressed store, hash-verified

198impl TxData {
199 /// Creates TxData representing the addition of a single fact.
200 pub fn add(e: Eid, a: &str, v: Value) -> Self {
201 TxData(1, Value::Eid(e), a.to_string(), v, None)
202 }
203
204 /// Creates TxData representing the addition of a single fact at a
205 /// specific point in time.

Callers

nothing calls this directly

Calls 1

TxDataClass · 0.85

Tested by

no test coverage detected