[Zope-DB] Easier updates with <dtml-sqlgroup set> and <dtml-comma>?

Dieter Maurer dieter@handshake.de
Tue, 19 Nov 2002 23:09:40 +0100


Jeff Kowalczyk writes:
 > Is there any way to do this sort of thing more directly using DTML?
 > Something like this (wishful) would be nice:
 > 
 > update Shipments
 > <dtml-sqlgroup set>
 > <dtml-sqltest ShipperInvoiceID type=nb optional><dtml-comma>
 > <dtml-sqltest ShipperChargeAsBilled type=float optional><dtml-comma>
 > <dtml-sqltest ShipperChargeAsPaid type=float optional>
 > </dtml-sqlgroup>
 > where ShipmentID = <dtml-sqlvar ShipmentID type=nb>
Someone extended "dtml-sqlgroup" to support this use case.
Search the mailing list archives.


Dieter