[erlang-questions] Mnesia equivalent of SQL NOT IN

Ward Bekker ward@REDACTED
Sun Feb 19 15:46:55 CET 2012



I have two records:

-record(foo, {timestamp, name}).  -record(bar, {timestamp, name}).  

And I would like to execute a Mnesia query that mimics the following SQL query

SELECT f.* FROM foo f WHERE f.timestamp NOT IN ( SELECT b.timestamp FROM boo b)  

What would be an efficient Mnesia equivalent?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120219/24f19639/attachment.htm>

More information about the erlang-questions mailing list