Hi.

This is one of the first times I'm working with Zope and databases.

Until now - if I wanted to work with a databse, i always created a Z SQL 
method that I called from my DTML-method via

    <dtml-call "add_item(param1 = ..., param2 = ..., param3 = ..., 
...">    (for example)
or <dtml-in get_items> ... </dtml-in>              (for example)

In the Z SQL method 'add_item' or 'get_items', my SQL statement are defined.

My question is now:

Do I have to define one Z SQL Method for every SQL statement I want to 
perform on my database or is it possible to define SQL-statements and 
database requests in my DTML-method?

Am I missing something? Any idea? Thanks a lot.

Regards, Marc
mailto:[EMAIL PROTECTED]


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to