From: Martin d'A. <Mar...@s2...> - 2004-12-02 23:43:42
|
On Thu, 2 Dec 2004, Justin Azoff wrote: > On Thu, 2004-12-02 at 18:25, Ryan Harper wrote: > > It seems to me the best way to preserve SQLObject behavior without > > introducing a new toggle ( as I previously suggested ) would be to (as > > you suggest) fill out selectResults without issuing a select to > > the database. > > > > Unless someone sees a reason why SQLObject SHOULD or MUST query the > > database rather than using the values that were passed to the table I > > think that would be a good optimization with no interface impact. > > > > Ryan Harper I can see one reason, but I am not sure it is true: what if you need to immediately use an auto_increment value in a subsequent insert for a one/many-to-many relationship? Martin |