Announcement

Collapse
No announcement yet.

Mistake in documentation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mistake in documentation

    Hello yuri
    There is a mistake in documentation:

    $opportunityCollection = $entityManager ->getRepository('Account') ->getRelation($acocunt, 'opportunities') ->limit(0, 10) ->where($whereClause) ->find();
    $opportunity = $entityManager ->getRepository('Account') ->getRelation($acocunt, 'opportunities') ->order('createdAt', 'DESC') ->findOne();
    Instead of getRelation($acocunt there should be getRelation($account
    Small, i know

  • #2
    Thanks.

    Comment

    Working...
    X