Register an array so that ops targeting it can be applied.
(&mut self, array: &str, schema_hlc: Hlc)
| 205 | |
| 206 | /// Register an array so that ops targeting it can be applied. |
| 207 | pub fn register_array(&mut self, array: &str, schema_hlc: Hlc) { |
| 208 | self.schemas.insert(array.to_string(), schema_hlc); |
| 209 | } |
| 210 | |
| 211 | /// Inject an error that will be returned by the next `apply_*` call. |
| 212 | pub fn set_reject_next(&self, err: ArrayError) { |