Advertisement
Guest User

Untitled

a guest
Apr 24th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. >>> models.Episode.select({models.Episode: ['*'], models.Season: ['*']}).join(models.Season)
  2. <class 'models.Episode'> SELECT FROM "episode" AS t1 INNER JOIN "season" AS t2 ON ("t1"."season_id" = "t2"."id") []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement