2725 search results for Doctrine

Hey Monoranjan, Yeah, that's because your Symfony version is 5.1... you should upgrade it to 5.2 first and then you should be able to install that latest 1.6 version of stof/doctrine-extensions-bundle . For Symfony 5.1 ...
... iterate over it. It's a good performance trick sometimes. You can read more about it in Doctrine docs here: https://www.doctrine-project.org/projects/doctrine-orm/en/2.8/tutorials/extra-lazy-associations.html Cheers!
... Hi!!! I'm trying to find out how to pluralize the words to our native language, Portuguese. It seems to be related to the class in doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php. But it is hardcoded ...
Hey danresmejia! > In that regard I see that doctrine transport table has a field called 'available_at' it seems to be related to it. What do you thing? Especially with the Doctrine transport, I certainly can't see a ...
weaverryan
weaverryan
Read Full Comment
... ": "/mnt/d/domains/vue/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php", "line": 93, "args": [] },` But where it goes to connect? Actually we don't up docker or any database services.
The information about the JSON type does not seem to be valid anymore here. At least Symfony 5+Doctrine will not automatically decode the array. I have tested this on multiple different MariaDB databases, and all of ...
Wow, I did NOT know that - that's awesome (I never tried it, because even though it makes sense, it feels contrary to how most things work in Doctrine: very explicitly). I'll add a note to the tutorial. Now, if Doctrine ...
weaverryan
weaverryan
Read Full Comment
Hey Ecludio! Looks like the latest version of doctrine/doctrine-migrations-bundle that is 3.x does not work with your project. You can try to install the lower version, e.g. run: $ composer require 'migrations:^2.0 ...
... many changes to its structure and what you just said is one of them, they split the `Doctrine\Common` package into different ones. You can learn more about those changes in this video: https://symfonycasts.com/screencast/symfony5-upgrade/doctrine-bundle-2.0 (and the subsequent one) Cheers!
MolloKhan
MolloKhan
Read Full Comment
Hi victor I upgraded from 2.2.0 to "doctrine/doctrine-fixtures-bundle": "2.4.*@dev", but still no luck. It is ok I will give up on this one since it is not worth the time. Instead I will just listen to the video and ...
... - 'ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\BooleanFilter' # I'm not sure how you would pass a filter with options. Maybe this? ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter: properties: [{title: partial}] ``` Let me know if it works :). Cheers!
weaverryan
weaverryan
Read Full Comment
I keep getting this error ```[Doctrine\DBAL\Exception\ConnectionException] An exception occured in driver: SQLSTATE[HY00 0] [2002] No connection could be made because the target machine actively refused it ...
Hey Igor! This is the 2nd episode in the Symfony 3 series after knpuniversity.com/screencast/symfony, which we're just finishing now. My hope is to get this episode this month. In the mean time, Doctrine hasn't changed ...
weaverryan
weaverryan
Read Full Comment
... but it works in EntityType only IIRC. If it does not fit for you - take a look at Doctrine Criteria, we even have an example about them: https://symfonycasts.com/screencast/collections/criteria-collection-filtering https://symfonycasts.com/screencast/doctrine-relations/collection-criteria I hope this helps! Cheers!
Found the solution. I was previously using regular Doctrine Fixtures, so having a look at this excerpt https://github.com/hautelook/AliceBundle/blob/master/src/Resources/doc/doctrine-fixtures-bundle.md found that ...
danresmejia
danresmejia
Read Full Comment
This video explains better than the one in the Doctrine document. Their examples are terrible and the explanation does not make sense: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/association ...
Hi, I am new to symfony. Started learning. I am using windows environmnet. Sysmfony 2.6 version. While trying ot create entity getting error as below. [Doctrine\DBAL\Exception\ConnectionException] An exception ...
Sekhar M.
Sekhar M.
Read Full Comment
Regarding same error ("Could not find any fixture services to load") when you use Symfony 3.4: to solve it, you just need to have the fixtures class extend the Doctrine\Bundle\FixturesBundle\Fixture class instead of ...
Victor N.
Victor N.
Read Full Comment
Hi Guys, you mention about doctrine migrations being a safer way for renaming the table columns, but how would you make sure that update schema does not break your database? In other words how do you tell update schema ...
Theravadan
Theravadan
Read Full Comment
At around the 5:58 mark, you say we could add a "setComments" method. That implies replacing the ArrayCollection with a new one. The Doctrine docs say you cannot do this - the ArrayCollection is managed by Doctrine ...