postgres.py
postgres.py copied to clipboard
link to parent for nested types?
I have a column of a custom type, and I want a reference to the parent for the child. I want to be able to do:
foo = Participant.from_username('foo')
foo.email.send(message)
... and inside send
have access to foo.username
, etc.