OK I downloaded the trunk and tested this mod.
myParent = db.ParentTable.insert(name='Bill')
myParentNativeRef = myParent._table._last_reference
works
Thanks again.
On Jun 27, 3:28 pm, mdipierro <[email protected]> wrote:
> > Maybe just add a new property dynamically to the row
> > We could call it 'nativeRef'
>
> > Would it be something like:
> > self.nativeRef = tmp # Python can add new properties 'on-the-fly',
> > right?
>
> > as the new 2nd last statement of insert()?
>
> If that is useful we can do it. I just did it in trunk so you can test
> it but I called self._last_reference to avoid possible naming
> conflicts.
>
> Massimo