Creates TxData representing the addition of a single fact at a specific point in time.
(e: Eid, a: &str, v: Value, t: Time)
| 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 { |