(from_id: &str, to_id: &str, kind: &str)
| 886 | /// Encode a KG edge key as "from_id\0to_id\0kind". |
| 887 | #[inline] |
| 888 | pub fn encode_edge_key(from_id: &str, to_id: &str, kind: &str) -> String { |
| 889 | format!("{}\0{}\0{}", from_id, to_id, kind) |
| 890 | } |
| 891 | |
| 892 | /// Decode a KG edge key into (from_id, to_id, kind). |
| 893 | #[inline] |
no outgoing calls