Skip to content

Commit

Permalink
Update lib/pg_query/treewalker.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
  • Loading branch information
lfittl and olleolleolle authored Jan 27, 2024
1 parent 71638a3 commit 7b7bad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pg_query/treewalker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ParserResult
# If you pass a block with 1 argument, you will get each node.
# If you pass a block with 4 arguments, you will get each parent_node, parent_field, node and location.
#
# If sufficent for the use case, the 1 argument block approach is recommended, since its faster.
# If sufficient for the use case, the 1 argument block approach is recommended, since it's faster.
#
# Location uniquely identifies a given node within the parse tree. This is a stable identifier across
# multiple parser runs, assuming the same pg_query release and no modifications to the parse tree.
Expand Down

0 comments on commit 7b7bad9

Please sign in to comment.