AST Visitor Utilities
This module exports walker and transformer functions for traversing and manipulating SQL AST nodes.
Rename tables in the AST
const newAst = renameTables(ast, { old_table: 'new_table', temp_users: 'users'}); Copy
const newAst = renameTables(ast, { old_table: 'new_table', temp_users: 'users'});
AST Visitor Utilities
This module exports walker and transformer functions for traversing and manipulating SQL AST nodes.