[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Relational Database Connectivity

webmaster at zope.org webmaster at zope.org
Tue Jun 1 12:37:22 EDT 2004

A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/RelationalDatabases.stx#2-35


    The last form field is the *Query template*.  This field contains
    the SQL code that is executed when the Z SQL Method is called.  In
    this field, enter the following code::

      insert into employees (emp_id, first, last, salary) values
      (<dtml-sqlvar emp_id type="int">, 
       <dtml-sqlvar first type="string">, 
       <dtml-sqlvar last type="string">,
       <dtml-sqlvar salary type="float">

      % Anonymous User - June 1, 2004 12:37 pm:
       Well, it would be nice if ZPT behaved like XSP a little, so that it could work like Cocoon's ESQL.

More information about the ZDP mailing list