Elixir + Ecto: How to do WHERE NOT IN [array]?
<p>I am trying to look for all <code>User</code>s that don't have a certain string element in their <code>match_history</code> field. I took a guess with this:</p>

<p><code>matched_user = User |&gt; where([u], ^device_id not in u.match_history) |&gt; limit(1) |&gt; VideoChat.Repo.one</code></p>

<p>But it seems to break at the <code>not</code> part. Is there a way to do this?</p>