Creates TxData representing the addition of a single fact.
(e: Eid, a: &str, v: Value)
| 198 | impl 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. |