BackTalk to Document The Zope Book (2.6 Edition)/Relational Database Connectivity
[email protected] Tue, 01 Jun 2004 12:37:22 -0400
| Newsgroups | gmane.comp.web.zope.zdp |
|---|---|
| Message-ID | <[email protected]> |
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.
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp