Commit 9c94ae13 by Julien Muchembled

Remove default limit on builders' ZSQL select methods

Proper way is to call a global builder with a 'limit' parameter.
1 parent a7e6e26d
......@@ -25,7 +25,8 @@
<value> <string>from_table_list:list\r\n
where_expression\r\n
order_by_expression\r\n
max_movement_date</string> </value>
max_movement_date\r\n
limit_expression</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -55,11 +56,11 @@ max_movement_date</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>src</string> </key>
......@@ -107,6 +108,9 @@ WHERE\n
\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
</dtml-if>\n
<dtml-if limit_expression>\n
LIMIT <dtml-var limit_expression>\n
</dtml-if>
]]></string> </value>
......
1506
\ No newline at end of file
1507
\ No newline at end of file
......@@ -16,7 +16,8 @@
<key> <string>arguments_src</string> </key>
<value> <string>from_table_list:list\r\n
where_expression\r\n
order_by_expression</string> </value>
order_by_expression\r\n
limit_expression</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -46,11 +47,11 @@ order_by_expression</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>src</string> </key>
......@@ -77,12 +78,14 @@ WHERE\n
1=1\n
<dtml-if where_expression>\n
AND <dtml-var where_expression> \n
</dtml-if>\n
AND simulation_movement.uid = catalog.uid\n
</dtml-if> AND simulation_movement.uid = catalog.uid\n
AND category.category_uid is NULL\n
\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
</dtml-if>\n
<dtml-if limit_expression>\n
LIMIT <dtml-var limit_expression>\n
</dtml-if>
]]></string> </value>
......
180
\ No newline at end of file
181
\ No newline at end of file
......@@ -24,7 +24,8 @@
<key> <string>arguments_src</string> </key>
<value> <string>from_table_list:list\r\n
where_expression\r\n
order_by_expression</string> </value>
order_by_expression\r\n
limit_expression</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -52,11 +53,11 @@ order_by_expression</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>src</string> </key>
......@@ -92,8 +93,9 @@ WHERE\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
</dtml-if>\n
\n
<dtml-if limit_expression>\n
LIMIT <dtml-var limit_expression>\n
</dtml-if>
]]></string> </value>
</item>
......
385
\ No newline at end of file
386
\ No newline at end of file
......@@ -16,7 +16,8 @@
<key> <string>arguments_src</string> </key>
<value> <string>from_table_list:list\r\n
where_expression\r\n
order_by_expression</string> </value>
order_by_expression\r\n
limit_expression</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -44,7 +45,7 @@ order_by_expression</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
......@@ -83,7 +84,9 @@ WHERE\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
</dtml-if>\n
<dtml-if limit_expression>\n
LIMIT <dtml-var limit_expression>\n
</dtml-if>
]]></string> </value>
</item>
......
476
\ No newline at end of file
477
\ No newline at end of file
......@@ -16,7 +16,8 @@
<key> <string>arguments_src</string> </key>
<value> <string>from_table_list:list\r\n
where_expression\r\n
order_by_expression</string> </value>
order_by_expression\r\n
limit_expression</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -44,11 +45,11 @@ order_by_expression</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>src</string> </key>
......@@ -84,6 +85,9 @@ WHERE\n
\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
</dtml-if>\n
<dtml-if limit_expression>\n
LIMIT <dtml-var limit_expression>\n
</dtml-if>
]]></string> </value>
......
819
\ No newline at end of file
820
\ No newline at end of file
......@@ -16,7 +16,8 @@
<key> <string>arguments_src</string> </key>
<value> <string>from_table_list:list\r\n
where_expression\r\n
order_by_expression</string> </value>
order_by_expression\r\n
limit_expression</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
......@@ -46,11 +47,11 @@ order_by_expression</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>src</string> </key>
......@@ -86,6 +87,9 @@ WHERE\n
\n
<dtml-if order_by_expression>\n
ORDER BY <dtml-var order_by_expression>\n
</dtml-if>\n
<dtml-if limit_expression>\n
LIMIT <dtml-var limit_expression>\n
</dtml-if>
]]></string> </value>
......
1160
\ No newline at end of file
1161
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!