Commit 75e0b9d6 authored by Jean-Paul Smets's avatar Jean-Paul Smets

initial upload


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1456 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e4b44acf
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:100000
max_cache:0
cache_time:0
class_name:
class_file:
</dtml-comment>
<params></params>
select distinct path from catalog
\ No newline at end of file
<dtml-comment>
title:Clear Reserved Uids
connection_id:erp5_sql_connection
max_rows:1
max_cache:0
cache_time:0
</dtml-comment>
<params>count:int
thread_id
date</params>
DELETE FROM
catalog
WHERE
path = "reserved"
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:10
max_cache:100
cache_time:0
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params>path</params>
select * from catalog where <dtml-sqltest path op=eq type="string">
\ No newline at end of file
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1
max_cache:0
cache_time:0
class_name:ZSQLBrain
class_file:zsqlbrain.py
</dtml-comment>
<params>uid</params>
select * from catalog where <dtml-sqltest uid op=eq type="int">
\ No newline at end of file
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:10000
max_cache:0
cache_time:0
</dtml-comment>
<params>count:int
thread_id
date</params>
INSERT INTO
catalog (id, path, CreationDate)
VALUES
<dtml-in "_.range(0,count)">
( <dtml-sqlvar thread_id type="string"> , 'reserved', <dtml-sqlvar date type="string"> ) ,
</dtml-in>
( <dtml-sqlvar thread_id type="string"> , 'reserved', <dtml-sqlvar date type="string"> );
<dtml-var "'\0'">
SELECT
uid
FROM
catalog
WHERE
path = 'reserved'
AND
id = <dtml-sqlvar thread_id type="string">
AND
CreationDate = <dtml-sqlvar date type="string">
\ No newline at end of file
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>table</params>
show columns from <dtml-var table>
\ No newline at end of file
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>table</params>
show tables
<dtml-comment>
title:
connection_id:erp5_sql_connection
max_rows:1000
max_cache:100
cache_time:0
class_name:
class_file:
</dtml-comment>
<params>column</params>
SELECT DISTINCT <dtml-var column> FROM catalog
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment