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

Method add_at

src/lib.rs:206–208  ·  view source on GitHub ↗

Creates TxData representing the addition of a single fact at a specific point in time.

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

Source from the content-addressed store, hash-verified

204 /// Creates TxData representing the addition of a single fact at a
205 /// specific point in time.
206 pub fn add_at(e: Eid, a: &str, v: Value, t: Time) -> Self {
207 TxData(1, Value::Eid(e), a.to_string(), v, Some(t))
208 }
209
210 /// Creates TxData representing the retraction of a single fact.
211 pub fn retract(e: Eid, a: &str, v: Value) -> Self {

Callers

nothing calls this directly

Calls 1

TxDataClass · 0.85

Tested by

no test coverage detected