Say i have the following Users model-
class Users(Base):
__tablename__='users'
id=Column(Integer, primary=True)
friends=relationship(
'Users',
secondary='friend_associations',
primaryjoin='and_(FriendAssociations.user_id==Users.id,'
Thanks Simon. Your answers always help immensely getting to know SA better.
I now know the overview.
On Tue, Jul 25, 2017 at 1:45 AM, Simon King wrote:
> On Tue, Jul 25, 2017 at 2:35 AM, Jinghui Niu wrote:
> > I was wondering if there is a way to
On Tue, Jul 25, 2017 at 2:35 AM, Jinghui Niu wrote:
> I was wondering if there is a way to configure Session.commit() so on each
> successful commit, it will return the committed/updated/deleted instance's
> class.__name__ + row.id. Is this possible? Thanks.
No, there's no