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
Labels
Merge Requests
137
Merge Requests
137
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
b0978eaf
Commit
b0978eaf
authored
Sep 01, 2018
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQLExpression: Fix typo in method casing.
parent
1f2850cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ZSQLCatalog/SQLExpression.py
product/ZSQLCatalog/SQLExpression.py
+3
-3
No files found.
product/ZSQLCatalog/SQLExpression.py
View file @
b0978eaf
...
@@ -327,7 +327,7 @@ class SQLExpression(object):
...
@@ -327,7 +327,7 @@ class SQLExpression(object):
"""
"""
return
SQL_LIST_SEPARATOR
.
join
(
str
(
x
)
for
x
in
self
.
getLimit
())
return
SQL_LIST_SEPARATOR
.
join
(
str
(
x
)
for
x
in
self
.
getLimit
())
def
getGroupBy
s
et
(
self
):
def
getGroupBy
S
et
(
self
):
"""
"""
Returns a set of strings.
Returns a set of strings.
...
@@ -336,7 +336,7 @@ class SQLExpression(object):
...
@@ -336,7 +336,7 @@ class SQLExpression(object):
"""
"""
result
=
{
self
.
_reversed_select_dict
.
get
(
x
,
x
)
for
x
in
self
.
group_by_list
}
result
=
{
self
.
_reversed_select_dict
.
get
(
x
,
x
)
for
x
in
self
.
group_by_list
}
for
sql_expression
in
self
.
sql_expression_list
:
for
sql_expression
in
self
.
sql_expression_list
:
result
.
update
(
sql_expression
.
getGroupBy
s
et
())
result
.
update
(
sql_expression
.
getGroupBy
S
et
())
return
result
return
result
def
getGroupByExpression
(
self
):
def
getGroupByExpression
(
self
):
...
@@ -345,7 +345,7 @@ class SQLExpression(object):
...
@@ -345,7 +345,7 @@ class SQLExpression(object):
Returns a rendered "group by" expression. See getGroupBySet.
Returns a rendered "group by" expression. See getGroupBySet.
"""
"""
return
SQL_LIST_SEPARATOR
.
join
(
self
.
getGroupBy
s
et
())
return
SQL_LIST_SEPARATOR
.
join
(
self
.
getGroupBy
S
et
())
def
getSelectDict
(
self
):
def
getSelectDict
(
self
):
"""
"""
...
...
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