Can I query db by roles?
In database i have column roles type json and store data like this ["ROLE_ADMIN"]
How can i query via doctrine? I use this code down and don't work.
$user = $this->getDoctrine()
->getRepository(User::class)
->findBy(['roles' => 'ROLE_ADMIN');