pglast icon indicating copy to clipboard operation
pglast copied to clipboard

Consider merging the functionality of the node.Node proxy into the concrete ast.Node

Open lelit opened this issue 3 years ago • 0 comments

The proxy has been there since the beginning, because in v1 it dealt with the JSON structure returned by libpg_query's parse_sql() function. Now that there is a set of concrete ast classes, maybe it would make sense to move the hierarchy tracking data (parent_node and parent_attribute) into the concrete nodes. Will think about this for v4.

lelit avatar May 22 '21 09:05 lelit