The Python Oracle

Completing object with its relations and avoiding unnecessary queries in sqlalchemy

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping

--

Chapters
00:00 Question
04:44 Accepted answer (Score 7)
08:30 Answer 2 (Score 4)
10:29 Thank you

--

Full question
https://stackoverflow.com/questions/5795...

Answer 1 links:
[Session documentation]: http://www.sqlalchemy.org/docs/orm/sessi...
[sqlalchemy.orm.util.identity_key]: http://www.sqlalchemy.org/docs/orm/mappe...
[Session.refresh()]: http://www.sqlalchemy.org/docs/orm/sessi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #sqlalchemy #eagerloading

#avk47