[Zope-DB] returning id of an inserted record
remy_pinsonnault at roche.ca
Thu Jun 10 18:28:34 EDT 2004
More precisely chapter on dtml-in attributes.
<dtml-var sequence-length> inside a dtml-in returns you the number of loops
or elements of your query.
If you want to do an insert without looking at the result, use dtml-call
From: zope-db-bounces at zope.org [mailto:zope-db-bounces at zope.org] On Behalf
Of Cliff Quinn
Sent: June 10, 2004 7:57 PM
To: zope-db at zope.org
Subject: Re: [Zope-DB] returning id of an inserted record
On 10 Jun 2004 at 15:52, Jim Penny wrote:
> > I do this..
> > <dtml-call "add_buyer(REQUEST)">
> <dtml-in "add_buyer(REQUEST)">
> Or, in ZPT, see tal:repeat.
Can you direct me to the reference for the
variables/values returned by this kind of a
request? I am particularly interested in the
syntax for the length (number of items returned)
but I am sure there some useful things coming
back that I haven't discerned and don't use
because I haven't seen them in the examples I
fishAbility Management and Communications
Victoria, BC, Canada 250-727-7879
Zope-DB mailing list
Zope-DB at zope.org
More information about the Zope-DB