Category : findall

In my UserController, $userRepository->findall() gives the correct result in public function index(UserRepository $userRepository), but using identical code in public function search(UserRepository $userRepository) results in an SQL error: An exception occurred while executing ‘SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.first_name AS first_name_5, t0.last_name AS last_name_6, t0.notes AS notes_7, t0.user_name ..

Read more

according to the following structure i need to receive the data “name”(from entity Media) and the data “ext” (from Entity Image) when i use a findAllRequest from the template repository. class Template { Zone $Zone(@ORMOne to Many) … } class Zone { Media $media(@ORMOne to Many) … } @ORMInheritanceType(“JOINED”) class Media{ $name … } class ..

Read more