Announcement

Collapse
No announcement yet.

Select Record

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

  • Select Record

    Hi,

    How can I select a record, giving teamsIds as condition in the below code?

    $list = $this->getEntityManager()->getRepository('Test')->where(array(

    ))->findOne();

    Please help.

  • #2
    $team = $this->getEntityManager()->getEntity('Team', $targetTeamId);
    $userList = $this->getEntityManager()->getRepository('Team')->findRelated($team, 'users', $userSelectParams);

    Comment


    • #3
      Thanks Tanya.

      Comment

      Working...
      X