[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Relational
Database Connectivity
webmaster at zope.org
webmaster at zope.org
Sat May 8 03:10:32 EDT 2004
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/RelationalDatabases.stx#2-36
---------------
Notice that this SQL code also contains DTML. The DTML code in this
template is used to insert the values of the arguments into the SQL
code that gets executed on your database. If the *emp_id* argument
had the value *42*, the *first* argument had the value *Bob* your
*last* argument had the value *Uncle* and the *salary* argument had
the value *50000.00* then the query template would create the
following SQL code::
insert into employees (emp_id, first, last, salary) values
(42,
'Bob',
'Uncle',
50000.00
)
% Anonymous User - May 8, 2004 3:10 am:
Do those of us trying to use ZPT instead of DTML have a tal:type option here, or do we need to use DTML in
this case?
More information about the ZDP
mailing list