Insert a (value, primary_key) pair into the index.
(&mut self, field_value: Vec<u8>, primary_key: Vec<u8>)
| 46 | |
| 47 | /// Insert a (value, primary_key) pair into the index. |
| 48 | pub fn insert(&mut self, field_value: Vec<u8>, primary_key: Vec<u8>) { |
| 49 | self.tree |
| 50 | .entry(field_value) |
| 51 | .or_default() |
| 52 | .insert(primary_key); |
| 53 | } |
| 54 | |
| 55 | /// Remove a (value, primary_key) pair from the index. |
| 56 | /// |