Register a collection configuration with index paths.
(&mut self, config: CollectionConfig)
| 39 | |
| 40 | /// Register a collection configuration with index paths. |
| 41 | pub fn register_collection(&mut self, config: CollectionConfig) { |
| 42 | self.configs.insert(config.name.clone(), config); |
| 43 | } |
| 44 | |
| 45 | pub(super) fn is_bitemporal(&self, collection: &str) -> bool { |
| 46 | self.configs.get(collection).is_some_and(|c| c.bitemporal) |