(&mut self, compute: Compute)
| 139 | } |
| 140 | |
| 141 | pub fn register_compute(&mut self, compute: Compute) { |
| 142 | let id = compute.id; |
| 143 | let decl = ColumnDecl::Compute(Box::new(compute)); |
| 144 | self.column_decls.insert(id, decl); |
| 145 | } |
| 146 | |
| 147 | /// Creates a new table instance and registers it in the AnchorContext's |
| 148 | /// table_instances HashMap. Also generates new IDs and names for columns |
no test coverage detected