Created
November 8, 2014 09:52
-
-
Save shauns/090bbfa4447adff8a760 to your computer and use it in GitHub Desktop.
Explicit 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
# Explicit | |
query = self.session.query(Book) | |
book = yield from query.get(1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment