postgres.py icon indicating copy to clipboard operation
postgres.py copied to clipboard

link to parent for nested types?

Open chadwhitacre opened this issue 10 years ago • 0 comments

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.

chadwhitacre avatar Oct 09 '14 02:10 chadwhitacre