Created
November 8, 2014 09:51
-
-
Save shauns/ae7d6c298a1cc48e390a to your computer and use it in GitHub Desktop.
Implicit ORM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Implicit | |
query = self.session.query(Book) | |
book = query.get(1) # implicit switch here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment