Created
December 7, 2016 21:21
-
-
Save benfalk/8d75c4200281b0527b9e61a9fcb5f5c3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from( | |
q in query, | |
where: fragment( | |
""" | |
EXISTS( | |
SELECT NULL FROM froo | |
WHERE foo.foreign_id = ? | |
AND foo.is_published = 't' | |
) | |
""", q.id | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment