(from_id: &str, to_id: &str, kind: &str)
| 637 | /// Encode a KG edge key as "from_id\0to_id\0kind". |
| 638 | #[inline] |
| 639 | pub fn encode_edge_key(from_id: &str, to_id: &str, kind: &str) -> String { |
| 640 | format!("{}\0{}\0{}", from_id, to_id, kind) |
| 641 | } |
| 642 | |
| 643 | /// Decode a KG edge key into (from_id, to_id, kind). |
| 644 | #[inline] |
no outgoing calls