Permalink
Browse files

typo fixes

  • Loading branch information...
1 parent 9d4fcfd commit c62988dc103b35b7e2f2dcc50bd4e1acc64d14c1 @lsmith77 lsmith77 committed Oct 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/doctrine-phpcr-odm.html
@@ -249,8 +249,8 @@
$factory = $qb->getQOMFactory();
// SELECT * FROM nt:unstructured WHERE name NOT IS NULL
- $qb->select($factory->selector('nt:unstructured'))
- ->where($factory->propertyExistance('name'))
+ $qb->from($factory->selector('nt:unstructured'))
+ ->where($factory->propertyExistence('name'))
->setFirstResult(10)
->setMaxResults(10)
->execute();

0 comments on commit c62988d

Please sign in to comment.