Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
erp5
Commits
a4b6500e
Commit
a4b6500e
authored
Nov 05, 2014
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZSQLCatalog.SQLCatalog: Document _buildQueryFromAbstractSyntaxTreeNode.
parent
c9d6f7ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
product/ZSQLCatalog/SQLCatalog.py
product/ZSQLCatalog/SQLCatalog.py
+10
-0
No files found.
product/ZSQLCatalog/SQLCatalog.py
View file @
a4b6500e
...
...
@@ -2130,6 +2130,16 @@ class Catalog(Folder,
return
result
def
_buildQueryFromAbstractSyntaxTreeNode
(
self
,
node
,
search_key
,
wrap
):
"""
node
Abstract syntax tree node (see SearchText/AdvancedSearchTextParser.py,
classes inheriting from Node).
search_key
Search key to generate queries from values found during syntax tree walk.
wrap
Callback transforming a value just before it is passed to
search_key.buildQuery .
"""
if
search_key
.
dequoteParsedText
():
_dequote
=
dequote
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment