python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to use the AssociationField with a ManyToMany relationship in EasyAdmin 4?
I created an Artist Entity and an User Entity in Symfony 6. Both entities have a ManyToMany relationship, so a join table was created.
User Entity
#[ORM\OneToMany(mappedBy: 'author', targetEntity:...
LudoPilot
Votes: 0
Answers: 1
DQL returns 0 expected result where MySQL has 2
I have a doctrine query (DQL) on my user repository which returns 0 results when I use a like :
$qb = $this->createQueryBuilder('q');
$qb->select('q.id, q.roles');
$qb->andWhere($qb->expr(...

Snoozer
Votes: 0
Answers: 1
Bad Performance when using a output DTO with doctrine entities with a set of relations
API Platform version(s) affected:
/srv/api # composer show | grep api-platform
api-platform/core v2.6.8 Build a fully-featured hypermedia or GraphQL API in minut...
Anton
Votes: 0
Answers: 2
ApiPlatform - Disable a Doctrine filter when any ToOne relation is fetched
Just implemented SoftDeleteable doctrine extension along with API Platform framework and here is my problem :
So basically, the SoftDeleteable bundle comes with a doctrine filter that adds a deletedAt...
Lama
Votes: 0
Answers: 0