2709 search results for Doctrine

Hey Akavir S.! Let me try to give some hints... but let me know if it still doesn't make sense ;) Check out the code block here - https://symfonycasts.com/screencast/doctrine-relations/awesome-random-fixtures ...
weaverryan
weaverryan
Read Full Comment
... using it as a key-value store for data), then you'll need Redis. The exact same is true for RabbitMQ. It's definitely superior to Doctrine. But, unless you are processing many, many messages, I don't think you would ...
weaverryan
weaverryan
Read Full Comment
... package name with "/". So, if you want to install Doctrine ORM pack for Symfony - you should execute *this* command: $ composer require symfony/orm-pack But! Symfony has a special package called Flex that is Composer plugin ...
... /doctrine-pagination-with-left-joins#answer-16658996 Actually, *why* putting the left join into the from fixes this doesn't make a ton of sense to me. But, the paginator sorta "hijacks" your query and does some cool stuff with ...
weaverryan
weaverryan
Read Full Comment
... doctrine:schema:drop --full-database php bin/console doctrine:schema:update --force php bin/console doctrine:schema:update --dump-sql ``` What I'm doing here is fully dropping the database, then asking Doctrine to execute ALL of the ...
weaverryan
weaverryan
Read Full Comment
... to the latest version. But sometimes in order to do so - you need to upgrade more related dependencies that's not an easy task and may require some changes in the code. It looks related to Doctrine, see these issues ...
... ", "ext-ctype": "*", "ext-iconv": "*", "doctrine/data-fixtures": "^1.3", "doctrine/doctrine-bundle": "^1.6", "symfony/console": "*", "symfony/flex": "^1.1 ...
I am trying to convert an sql query into a doctrine query and so far I am not having any luck this is the query I have which runs perfectly fine in phpmyadmin ``` SELECT * FROM pe_users u LEFT JOIN pe_apply a ON u.id ...
Shairyar Baig
Shairyar Baig
Read Full Comment
... when i passed the $user Object to the Form, Symfony crash with : > "The form's view data is expected to be an instance of class App\Entity\UsersIndicators, but is an instance of class Doctrine\ORM\PersistentCollection ...
Etienne L.
Etienne L.
Read Full Comment
... ", "behat/mink-selenium2-driver": "^1.3", "braincrafted/bootstrap-bundle": "^2.2", "components/jquery": "^3.2", "doctrine/data-fixtures": "^1.2", "doctrine/doctrine-bundle": "^1.6 ...
HI Amine I was able to make it work, with these steps: 1) Create a phpunit.xml with this content: ``` ``` 2) Run `composer require indigophp/doctrine-annotation-autoload` 3) Run `composer dump-autoload` ...
Alright, so the filtering worked as a charm. I believe you may find useful the "Blameable" Doctrine extension, so you can automatically attach the client_id to your records https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/doc/blameable.md Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
Nothing yet felipyamorim! It's my fault - this has been a tough one to schedule in! But, I'm hoping to make it the next tutorial, after the one we started releasing today (Symfony and Doctrine). Cheers! ...
weaverryan
weaverryan
Read Full Comment
Thank you! Can you explain how realize this logic. This class it's a service or doctrine entity? And how in this case point count of operations when adding it to product ...
`bind` is a killing-feature, thank you. Meanwhile, are you planning to make a course for MultiLingual usage of Symfony and Doctrine. (not just talking about translations :)) It'd be lovely. Thanks for great work. ...
Yahya A. Erturan
Yahya A. Erturan
Read Full Comment
Hey Trafficmanagertech Usually you don't need Doctrine itself, what you usually need is a repository or the entity manager, but if for some reason you need it, I believe you can inject it directly to a controller's action Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
Hey Nick, What do you mean? Are you talking about migrating legacy app which already has some data to Symfony and Doctrine? Let me know if I understand you right Cheers! ...
Hello Diego, I am confused. @ORM\Table(indexes={@ORM\Index(name="name_idx", columns={"name"})}) So, we do not need to do this because Doctrine will add indexes? Or you speak only about foreign keys? ...
Hmm, interesting, which version of `doctrine-bundle` are you using? Try using 1.6 And make sure you are really running in PHP 7.1, that error is related to PHP 7.0 Cheers ...
MolloKhan
MolloKhan
Read Full Comment
Hey James, Looks like you need to call persist() on Category entity which you add to collection. Don't forget that Doctrine requires calling persist() on new entities before calling flush(). Cheers! ...