Expand description
AST Diff - Compare SQL expressions
This module provides functionality to compare two SQL ASTs and generate a list of differences (edit script) between them, using the ChangeDistiller algorithm with Dice coefficient matching.
Structs§
- Diff
Config - Configuration for the diff algorithm
Enums§
- Edit
- Types of edits that can occur between two ASTs
Functions§
- changes_
only - Get only the changes from an edit list
- diff
- Compare two expressions and return a list of edits
- diff_
with_ config - Compare two expressions with custom configuration
- has_
changes - Check if the diff contains any changes