From: j.kartnaller <j.k...@ro...> - 2005-12-07 12:54:50
|
Oleg Broytmann wrote: > On Thu, Dec 01, 2005 at 12:58:28PM +0100, j.kartnaller wrote: > > >> def performJoin(self, inst): >> pythonColumn = >>self.soClass.sqlmeta.style.dbColumnToPythonAttr(self.joinColumn) >> results = self.otherClass.select(getattr(self.otherClass.q, >>pythonColumn) == inst.id, >> connection = inst._connection, >> ) > > > Applied at the revision 1346 to the trunk. Please give it a try. I tested with the actual trunk. You modification works fine for my use case. Method createReferenceConstraint is only implemented for sqlite and postgres. I'm testing with sqlite and mysql. I added an empty implementation for mysql. Jürgen |