title: The correct NSPredicate format for one-to-many relationship in Core Data
body: <p>I have a managed object model A and B with one-to-many relationship.</p>
  
  <p>For this particular task, I want to retrieve all A objects which has a relation to B with a property matches to "string".</p>
  
  <p>I had tried <code>@"ALL bObjects.bProperty MATCHES 'string'"</code>, and it caused an objc_exception_throw in:</p>
  
  <pre class="lang-m prettyprint-override"><code>[NSSQLGenerator generateSQLStatementForFetchRequest:ignoreInheritance:countOnly:]
  </code></pre>
  
  <p>What seems to be the problem ?</p>
  
  <p>Anybody can advise me on the correct predicate format ?</p>