Commit 7b28b5fc authored by Aurel's avatar Aurel

insert data

parent 7b6b51fc
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>arguments_src</string> </key> <key> <string>arguments_src</string> </key>
<value> <string encoding="base64">Z2lkDQpwYXRoDQo=</string> </value> <value> <string encoding="base64">Z2lkDQpwYXRoDQpkYXRhDQo=</string> </value>
</item> </item>
<item> <item>
<key> <string>connection_id</string> </key> <key> <string>connection_id</string> </key>
...@@ -25,12 +25,13 @@ ...@@ -25,12 +25,13 @@
BEGIN\n BEGIN\n
<dtml-var sql_delimiter>\n <dtml-var sql_delimiter>\n
REPLACE INTO\n REPLACE INTO\n
syncml (`path`, `gid`)\n syncml (`path`, `gid`, `data`)\n
VALUES\n VALUES\n
<dtml-in prefix="loop" expr="_.range(_.len(path))">\n <dtml-in prefix="loop" expr="_.range(_.len(path))">\n
(\n (\n
<dtml-sqlvar expr="path[loop_item]" type="string">,\n <dtml-sqlvar expr="path[loop_item]" type="string">,\n
<dtml-sqlvar expr="gid[loop_item]" type="string">\n <dtml-sqlvar expr="gid[loop_item]" type="string">,\n
<dtml-sqlvar expr="data[loop_item]" type="string">\n
)<dtml-unless sequence-end>,</dtml-unless>\n )<dtml-unless sequence-end>,</dtml-unless>\n
</dtml-in>\n </dtml-in>\n
<dtml-var sql_delimiter>\n <dtml-var sql_delimiter>\n
......
107 108
\ No newline at end of file \ 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