Re: [Zope-DB] Getting a newly created record

2005-11-18 Thread Dieter Maurer
Sean Fulmer wrote at 2005-11-17 17:04 +: How can I insert a new record and have the new record immediately returned to me as an object? You must use database means for this. If your database system supports the sequence datatype (and you use it to generate a unique id) then you can use the

Re: [Zope-DB] Getting a newly created record

2005-11-17 Thread Andreas Jung
--On 17. November 2005 17:04:22 + Sean Fulmer [EMAIL PROTECTED] wrote: How can I insert a new record and have the new record immediately returned to me as an object? When you insert the data then you have the data you need inside your application. If not perform a second query using