title: Complicated filter statements in dbplyr using lists of lists
body: <p>In SQL you can make a statement like this:</p>
  
  <pre><code>SELECT *
  FROM table
  WHERE (var1, var2, var3, var4) IN (("var1-1", "var2-1", "var3-1", "var4-1"),
                                     ("var1-2", "var2-2", "var3-2", "var4-2"))
  </code></pre>
  
  <p>This means to grab all rows where (var1 == "var1-1" and var2 == "var2-1" and var3 == "var3-1" and var4 == "var4-1") or (var1 == "var1-2" and var2 == "var2-2" and var3 == "var3-2" and var4 == "var4-2")</p>
  
  <p>Is there a way to make a similar query in dbplyr in a programmatic way?</p>
  
  <p>So for example suppose I had a tibble:</p>
  
  <pre><code>tribble(
      ~var1,     ~var2,    ~var3,    ~var4,
      "var1-1",  "var2-1", "var3-1", "var4-1",
      "var1-2",  "var2-2", "var3-2", "var4-2"
    )
  </code></pre>
  
  <p>Is there some sort of function I could use to have dbplyr build a SQL statement like the one above?</p>