title: How to check for a value that is inside a String array using ArrayContains method in cosmos db?
body: <p>I have the following JSON and I want to get this record when name="style" and properties contain US - Rectangle</p>
  
  <pre><code>{
      "id": "5ede1c0f1b4b335ed3bf3bca",
      "attributes": [
          {
              "name": "Style",
              "properties": [
                  "US - Rectangle",
                  "US - Square"
              ]
          },
          {
              "name": "Button Configuration",
              "properties": [
                  "2 button"
              ]
          },
          {
              "name": "Columns",
              "properties": [
                  "Single Column"
              ]
          },
          {
              "name": "Colors",
              "properties": [
                  "Beige"
              ]
          }
      ],
  
  }
  </code></pre>
  
  <p>I have written this query </p>
  
  <pre class="lang-sql prettyprint-override"><code>SELECT *
  FROM c
  where ARRAY_CONTAINS(c.attributes, {name:"Style"},true ) 
  </code></pre>
  
  <p>but not able to understand how to include the properties value</p>