title: Cakephp 3 find('list')
body: <p>I wanted to prefill a multiple Checkbox form with Data from MySql Database.</p>
  
  <p>My Database Data :</p>
  
  <pre><code>id  customer_id     language_id     preferred
  1   10              150             yes
  2   10              149             yes
  </code></pre>
  
  <p>The query in Controller "Preferredcustomerlanguages"</p>
  
  <pre><code>$clientlanguages = $this-&gt;Preferredcustomerlanguages
          -&gt;find('list')
          -&gt;select(['language_id'])
          -&gt;where(['customer_id =' =&gt; $customer_id])
          -&gt;where(['preferred =' =&gt; 'yes'])
          -&gt;toArray()
      ;
  </code></pre>
  
  <p>If i start the query with $customer_id = 10 the result is this:</p>
  
  <pre><code>[
  (int) 2 =&gt; (int) 2,
  (int) 1 =&gt; (int) 1
  ]
  </code></pre>
  
  <p>I thought the query would give me a list of the language_id which i need to prefill my form.</p>
  
  <p>Maybe someone can give me a hint where iḿ thinking wrong </p>