2725 search results for Doctrine

... not in Doctrine Repository. And after implementing it in CustomFormAuthenticator it started work eventually! Many thanks for help and directing me! I always afraid of touching/modifying source code, but anyway I really never would be able to find this listener and do that investigation without your replies.
... queues (e.g. competition_41). C) In Messenger, attach a custom AmqpStamp to the message with whatever routing key you want. If you're using the Doctrine transport, I don't think making the queue dynamic is at all possible. I don't fully understand what you're trying to accomplish, but I may try to do it a different way. Cheers!
weaverryan
weaverryan
Read Full Comment
... 2 things happening here: 1) The different "headers" on the table suggest that you may have just upgraded to a newer version of Doctrine with new headers. When I run `docker-compose ps`, I see the same new columns that ...
weaverryan
weaverryan
Read Full Comment
Hello again. I moved onto updating the symfony/translation recipe and why on earth is it trying to delete my config/services.yaml? ` Which outdated recipe would you like to update? (default: 0) [0] stof/doctrine ...
Hey rcapile1 Thanks for the kind words! > I have a legacy application and I had to create an API to talk to it. So no Doctrine at all. Not even for user authentication! Ah! Exciting! Then you are certainly doing some ...
weaverryan
weaverryan
Read Full Comment
... possible. Here's some info - https://stackoverflow.com/questions/6000622/how-to-order-by-count-in-doctrine-2#answer-13652479 - specifically solution 3 on that answer is, I think, what you'd need. Use `->addSelect('COUNT(something.id) AS HIDDEN mycount')` to "add" the count into the select. Let me know if that helps :). Cheers!
weaverryan
weaverryan
Read Full Comment
... Unfortunately, Doctrine does not have TableMap like Propel and for example in filterBy you are using words instead of consts which looks like a big issue.
Patryk W.
Patryk W.
Read Full Comment
... iterate over user's orders to list them. Doctrine may not load those orders initially for performance reason when you fetch the object from the DB, because probably you will never need that data. But on the explicit request of ...
... message with MESSENGER as doctrine default, I have the same issue. If I remove messenger from composer, It looks to be ok each time, So I am thinking the issue is with Messenger and Mailer... I am not sure to ...
Christophe R.
Christophe R.
Read Full Comment
... long as you're not doing too much of this stuff. Btw, even if you are writing SQL queries, I highly recommend putting this inside repository methods - like http://knpuniversity.com/screencast/doctrine-queries/raw-sql ...
weaverryan
weaverryan
Read Full Comment
... //future500.nl/articles/2013/09/doctrine-2-how-to-handle-join-tables-with-extra-columns/ Now I have created a form to edit a Boat. My problem is the following; How do I add a field/section in the boat form builder that ...
Ruben Bijker
Ruben Bijker
Read Full Comment
... configuration right next to the thing it's configuring. For serializing, you can immediately see what properties are being serialized, without needing to find another configuration file. Route & Doctrine annotations also have ...
weaverryan
weaverryan
Read Full Comment
... filter for a virtual property would not be any different than any other custom filter. For example, here is the main video where we implement a custom filter for a Doctrine entity - https://symfonycasts.com/screencast ...
weaverryan
weaverryan
Read Full Comment
Hi weaverryan ... Thanks for your response. I am really in a fix with this Doctrine issue. I am using MongoDB ODM (MongoDB Bundle) and as NoSQL don't need an exact schema, I was trying to dynamically set the properties ...
EinzigTech
EinzigTech
Read Full Comment
... languages... then you would have a ManyToMany to person - Doctrine would create a join table - like person_languagae - to store that, but there wouldn't be an actual PersonLanguage entity). Anyways, the other side of the ...
weaverryan
weaverryan
Read Full Comment
... helpful otherwise would have spent some more time reading the doctrine docs. I noticed that access to the properties of the classes that are injected into the validator can be only obtained by using the get methods and not ...
sridharpandu
sridharpandu
Read Full Comment
... with this part of doctrine, so let me expalin a bit Person is the main table, then we have "language", "skills", "whatever1" and "whatever xxx" tables, person can have as many of "the other tables records associated to ...
jlchafardet
jlchafardet
Read Full Comment
I have the most bizarre issue with the messenger component here. I have followed this guide to the letter, using Symfony 5.2.5, PHP 7.3, and have configured it to use doctrine async. I'm using sass and have this at ...
SigmaTechnology
SigmaTechnology
Read Full Comment
... I couldn't understand why it was being done this way in the tutorial, I was wondering why would someone want to trigger a POST and at the same time persist data directly into the DB by using doctrine, it took me some ...
sridharpandu
sridharpandu
Read Full Comment
... fields so people can open / close certain parts of the form (because its a big form). If I completely skip Symfony Forms and use Doctrine and custom html form markup. Will it be more work with validating, etc? Because I ...