We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566c84f commit 1742a3dCopy full SHA for 1742a3d
README.md
@@ -179,7 +179,7 @@ allowed_columns = {'age', 'role'}
179
180
result = transforms.filter_column_references_statement(
181
sql=sql,
182
- allowed_column_names=allowed_columns
+ selector=lambda col: col.name in allowed_columns,
183
)
184
185
# Result: SELECT * FROM users WHERE age > 18 AND role = 'admin'
0 commit comments