Questions tagged as 'doctrine2'

0
answers

Delineate JSON recursion level in a Doctrine entity

Good day. I am new to the development of PHP with Symfony (Doctrine and FosRest) and Angular 2. The project that we are developing works through a API Rest , to which we make calls of the methods that the protocol HTTP provides us, al...
asked by 05.07.2016 / 02:23
1
answer

how can I create this mysql query in doctrine is it possible?

I have this query that I did in mysql SELECT 'formulario' as formulario, 'persona' as persona, 'uds' as uds, GROUP_CONCAT(pg.enunciado SEPARATOR ';') as valores_respuestas FROM preguntas_de_formularios as pdf INNER JOIN preguntas as...
asked by 26.02.2018 / 06:24
1
answer

Docine error: Access denied for user in Symfony-4

I'm following the tutorial link , to start with Flex and they are Symfony. The case is that when executing: ./bin/console doctrine:database:create I returned: '' '  [Doctrine \ DBAL \ Exception \ ConnectionException]   An exception o...
asked by 26.10.2017 / 13:18
1
answer

Get an entity from in eventSubscriber

I am using an eventSubscriber to dynamically load a field (Patient) in a form, of which in its preSubmit function I need to obtain in addition to the id the patient's ID. The id can be obtained directly, but the ID I need to bring the ent...
asked by 24.05.2017 / 09:56
1
answer

Show specific values in a symfony form?

I am creating a form in Symfony in which you must choose a category and a subcategory that depends on the main category (for example, if you select Music the subcategories are pop, rock, etc ... and if it is Shows you should be childish, adults,...
asked by 29.11.2016 / 18:55
1
answer

How to have a custom repository not associated with an entity in Symfony

I have a file DefaultRepository to place all the general queries there. Would it be possible to have a custom repository not associated with an entity in Symfony ? I would like to put in it all the queries that do not fit well in...
asked by 07.11.2018 / 17:26
0
answers

How can I improve the performance of a large data import in symfony?

You will see now I have to make a series of imports of csv files based on data, and I do it through doctrine in symfony 3. I'm talking about a csv of about 100,000 records, the case is that from that CSV I draw a series of fields for two enti...
asked by 16.10.2018 / 15:23
1
answer

Upload multiple symfony images 3

I have a problem: I have an entity Property and between its fields one called fotoUbicacion.La question is the following, I need that field to store the amount of images that the user uploads in the form. In the documentation of symfony 3.4 ( li...
asked by 26.09.2018 / 00:11
0
answers

Differences between addSelect () and Select () query builder doctrine

Someone could explain to me the difference between the methods of doctrine addSelect() and Select() , I need to make a query using query builder and I have doubts about which to use ...     
asked by 27.06.2018 / 18:51
1
answer

Problem with symfony query 3

I have the following situation, I have 3 tables. On the one hand I have a list of members, a list of charges and another table that shows the charges that each member has had in different years. What I need is to show a view with the list of mem...
asked by 28.06.2018 / 21:45