[web-devel] Yesod. Persistent. Disjunction

Anton Cheshkov acheshkov at gmail.com
Sun Mar 13 15:18:46 CET 2011

Hi Michael.

Please show  the way how to perform a query for persistent in disjunction
For example

select * from Table t where t.c1 = 1 or t.с1 = 2

Now, for example, selectList function applies filters in conjunctive.

After that it would be great to see how to make query like
select * from Table t where t.c1 in [1, 2]


Best regards,
Cheshkov Anton
Phone: +7 909 005 18 82
Skype: cheshkov_anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110313/ae7842b7/attachment.htm>

More information about the web-devel mailing list