sqlscope-rs 0.4.1__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/PKG-INFO +1 -1
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/src/sqlscope/__init__.py +3 -2
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/.gitignore +0 -0
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/README.md +0 -0
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/pyproject.toml +0 -0
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/src/sqlscope/_library.py +0 -0
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/src/sqlscope/py.typed +0 -0
- {sqlscope_rs-0.4.1 → sqlscope_rs-0.5.0}/tests/test_sqlscope.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sqlscope-rs
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Scope-aware SQL analysis and rewriting: row filters, CTE injection, table rewrites, column lineage.
|
|
5
5
|
Project-URL: Repository, https://github.com/dcalsky/sqlscope
|
|
6
6
|
License-Expression: MIT
|
|
@@ -41,7 +41,7 @@ from ._library import (
|
|
|
41
41
|
load,
|
|
42
42
|
)
|
|
43
43
|
|
|
44
|
-
__version__ = "0.
|
|
44
|
+
__version__ = "0.5.0"
|
|
45
45
|
|
|
46
46
|
__all__ = [
|
|
47
47
|
"Clause",
|
|
@@ -190,7 +190,8 @@ def apply_row_filter(
|
|
|
190
190
|
By default every physical table is filtered; ``table_names`` (bare,
|
|
191
191
|
``schema.table`` or ``catalog.schema.table``), ``table_patterns`` (regular
|
|
192
192
|
expressions) and ``default_db`` restrict the scope. CTE references, table
|
|
193
|
-
functions and ``DUAL``
|
|
193
|
+
functions and the ``DUAL`` dummy table (Oracle, the MySQL family,
|
|
194
|
+
Snowflake) are never wrapped. ``predicate`` is parsed as one
|
|
194
195
|
boolean expression; bind or escape its values before calling. Returns the
|
|
195
196
|
input unchanged when no table is in scope.
|
|
196
197
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|