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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amrani
erp5
Commits
27a88c96
Commit
27a88c96
authored
Jun 14, 2017
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql_innodb_catalog: simplify query generations using <dtml-sqltest>
parent
fbdb4ec9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
15 deletions
+5
-15
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_item_list.sql
.../portal_catalog/erp5_mysql_innodb/z_catalog_item_list.sql
+1
-3
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_movement_category_list.sql
...og/erp5_mysql_innodb/z_catalog_movement_category_list.sql
+1
-3
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_non_movement_category_list.sql
...rp5_mysql_innodb/z_catalog_non_movement_category_list.sql
+1
-3
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_category_list.sql
...g/erp5_mysql_innodb/z_catalog_predicate_category_list.sql
+1
-3
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
...portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
+1
-3
No files found.
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_item_list.sql
View file @
27a88c96
DELETE
FROM
DELETE
FROM
item
item
WHERE
WHERE
<
dtml
-
in
uid
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
;
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
var
"'
\0
'"
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_movement_category_list.sql
View file @
27a88c96
DELETE
FROM
DELETE
FROM
category
category
WHERE
WHERE
<
dtml
-
in
uid
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
;
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_non_movement_category_list.sql
View file @
27a88c96
DELETE
FROM
DELETE
FROM
category
category
WHERE
WHERE
<
dtml
-
in
uid
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
;
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
<
dtml
-
let
category_list
=
"[]"
getCategoryParentUidList
=
"portal_categories.getCategoryParentUidList"
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_predicate_category_list.sql
View file @
27a88c96
DELETE
FROM
DELETE
FROM
predicate_category
predicate_category
WHERE
WHERE
<
dtml
-
in
uid
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
;
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
var
"'
\0
'"
>
...
...
product/ERP5/bootstrap/erp5_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_stock_list.sql
View file @
27a88c96
DELETE
FROM
DELETE
FROM
stock
stock
WHERE
WHERE
<
dtml
-
in
uid
>
<
dtml
-
sqltest
uid
type
=
"int"
multiple
>
uid
=<
dtml
-
sqlvar
sequence
-
item
type
=
"int"
><
dtml
-
if
sequence
-
end
><
dtml
-
else
>
OR
</
dtml
-
if
>
</
dtml
-
in
>
;
;
<
dtml
-
var
"'
\0
'"
>
<
dtml
-
var
"'
\0
'"
>
...
...
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