<div dir="ltr">Hi Matthew! Two questions:<br><br>1) What database do you use?<br>2) How many pairs are in y potentially?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 8, 2015 at 4:37 PM, Matthew Bell <span dir="ltr"><<a href="mailto:matthewrobertbell@gmail.com" target="_blank">matthewrobertbell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br><br></div>I am trying to do this:<br><br>Assuming X.a and X.b are both unicode:<br><br> y = [('1', '2'), ('3', '4')]<br><br> select(x for X in x if (x.a, x.b) not in y)<br><br></div>This query doesn't work. How can I exclude the tuples in y from results? <br><br></div>Thanks<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><br>-- <br><div>Regards,<br><br>Matthew Bell<br></div>
</div></div></div></div></font></span></div>
<br>_______________________________________________<br>
ponyorm-list mailing list<br>
<a href="mailto:ponyorm-list@ponyorm.org">ponyorm-list@ponyorm.org</a><br>
<a href="/ponyorm-list" rel="noreferrer" target="_blank">/ponyorm-list</a><br>
<br></blockquote></div><br></div>