<div dir="ltr">Hello,<div><br></div><div>I try to use  pony.orm.select()  like this, where  User.accounts  is a Set for the Entity "Account".</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">user = User[1]<br>print(select(a for a in user.accounts if a.label == 'label'))<br></blockquote><br></div><div>The solution to it would be</div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>user = User[1]</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>print(select(a for a in Account if a.user == user and a.label == 'label'))</div></blockquote><br></div><div>I would much rather write the first version. Is this a limitation of Pony ORM?</div><div><br></div><div>Python 3.4.1</div><div>Pony ORM 0.6</div><div><br></div><div>Thanks in advance!</div><div>Niklas</div></div>