title: How to query a document by values that are in an attribute that is an array?
body: <p>the document is like this:</p>
  
  <pre><code>{
  "checkpointIds": [
  "1155adc1-cb50-4124-9b5f-7667693a34c0" ,
  "1155adc1-cb50-4124-9b5f-7667693a34c1"
  ] ,
  "id":  "1a55dc34-bd30-4915-ada7-ce4972d5df4f"
  }
  </code></pre>
  
  <p>i want to query documents that has specific values inside an attribute that is an array, i tried the bellow but it doesnt work, it returns simply all the results in the collection</p>
  
  <pre><code>filtered = list(r.table(collection).filter(
              lambda doc: \
                  (doc['id'] == _filters.get('id')).default(False) | \
                  (doc['checkpointIds'].set_intersection(_filters.get('checkpointIds'))).default(False)
  ).run(self.rdb_conn))
  </code></pre>