Helper to find existing table by name in the module
| 313 | |
| 314 | // Helper to find existing table by name in the module |
| 315 | RawTableDefV9* V9Builder::findTableByName(const std::string& table_name) { |
| 316 | auto& module = GetV9Module(); |
| 317 | for (auto& table : module.tables) { |
| 318 | if (table.name == table_name) { |
| 319 | return &table; |
| 320 | } |
| 321 | } |
| 322 | return nullptr; |
| 323 | } |
| 324 | |
| 325 | // Helper to create a BTree index for a field |
| 326 | RawIndexDefV9 V9Builder::createBTreeIndex(const std::string& table_name, |
nothing calls this directly
no outgoing calls
no test coverage detected