Last active
August 29, 2015 14:25
-
-
Save youqingkui/71c3868c90742b055fb7 to your computer and use it in GitHub Desktop.
SQLALCHEMY 外联结
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
# SQLALCHEMY LEFT JOIN | |
db.session.query(PushHistory, CronPublish).\ | |
outerjoin(CronPublish, and_(CronPublish.tid == PushHistory.id, CronPublish.ttype == 4)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment