sqla-filters: Tree¶
Once the parser parses the data that was given it creates a tree.
This tree is composed of the nodes found in the package sqla_filter.filter.nodes
.
The generated tree is of the following form:
The class that contains this tree is the next class:
-
class
sqla_filters.tree.
SqlaFilterTree
(root: sqla_filters.nodes.base.base.TreeNode)[source]¶ Class SqlaFilterTree.
When you acces the parser.tree an instance of the class is returned. From the class you can access the root element and filter a sqlalchemy query.
Note
This is from this class you can call the filter function.