title: Querying by a pod field
body: <p>I have a custom pod, <code>product_type</code>, in that pod I have a custom field named <code>label</code>. I want to find all the pods where the <code>label</code> matches a certain strings.</p>
  
  <p>Iv been trying this (and some other variations):</p>
  
  <pre><code>$mypod = pods('product_type', array(
      'where'   =&gt; 'product_type.label LIKE "%'.$someLabelString.'%"',
      'limit'=&gt;-1
  ));
  </code></pre>
  
  <p>I've also tried changing the <code>product_type.label</code> part of the query to <code>t.label</code>, but to no avail. I get this error:</p>
  
  <pre><code>Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` WHERE ( ( `product_type`.`label` LIKE "%hello%" ) AND ( `t`.`post_type` = "product_type" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: Unknown column 'product_type.label' in 'where clause'
  </code></pre>