From: Ryan H. <rh...@sh...> - 2004-12-02 23:25:42
|
> selectResults = self._connection._SO_selectOne(self, dbNames) > > and fill in the selectResults tuple from within the SQLObject.self (with > getattr(self,dbName)) and still call self._SO_selectInit(selectResults) > > Is one solution preferable over the other? Should I set self.dirty = True? 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 |