2725 search results for Doctrine

DONT PANIC for old version and see https://knpuniversity.com/screencast/symfony-doctrine/fixtures-alice have fun! ...
Hi how can I connect to a MSSQL database with doctrine please? ...
Hey, when will the next Doctrine tutorial be available? Thanks a lot for your work! ...
excentrist
excentrist
Read Full Comment
Hi, What domain model is used in Doctrine ? Anemic or Rich ? Thank for reply in advance ...
Hey Syed, Yeah, then the Laravel way sounds similar to what Doctrine migrations bundle does :) Cheers! ...
Hey @Farry7! Right here: https://symfonycasts.com/screencast/symfony-doctrine/foundry Cheers! ...
weaverryan
weaverryan
Read Full Comment
Have you tried Ryan's solution? https://symfonycasts.com/screencast/symfony-doctrine/console#comment-5051320615 Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
Hmm, interesting... have you tried this `composer require doctrine/common --update-with-dependencies` ...
MolloKhan
MolloKhan
Read Full Comment
maybe someone will have the time to help me out :D Symfony - Updating OneToOne doctrine relation ...
for multiple files delete ? https://stackoverflow.com/questions/58577672/doctrine-get-onetomany-relation-results ...
For those who read this thread, here is more https://symfonycasts.com/screencast/doctrine-queries ...
Hi Steve D. You can try to set `doctrine.dbal.server_version` like: ``` doctrine: dbal: server_version: 'mariadb-5.5.60' ``` Cheers! ...
It would have been nice to see that doctrine transaction :) First of it's kind :D ...
Broken link: https://doctrine-dbal.readthedocs.io/en/latest/reference/data-retrieval-and-manipulation.html ...
... Search for "Please note interesting things" at https://github.com/doctrine/DoctrineModule/blob/master/docs/hydrator.md ...
Yep this was me. I brewed up some MySQL and the Doctrine create command worked perfectly. ...
Lee RavenGod Ingram
Lee RavenGod Ingram
Read Full Comment
188 lines | src/Entity/Question.php
// ... lines 1 - 7
use Doctrine\Common\Collections\Criteria;
// ... lines 9 - 15
class Question
{
// ... lines 18 - 157
public function getApprovedAnswers(): Collection
{
$criteria = Criteria::create()
// ... lines 161 - 163
}
// ... lines 165 - 186
}
See Code Block in Script
178 lines | src/Entity/Question.php
// ... lines 1 - 5
use Doctrine\Common\Collections\ArrayCollection;
// ... lines 7 - 14
class Question
{
// ... lines 17 - 56
public function __construct()
{
$this->answers = new ArrayCollection();
}
// ... lines 61 - 176
}
See Code Block in Script
38 lines | src/ApiPlatform/CheeseSearchFilter.php
// ... lines 1 - 4
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\AbstractFilter;
// ... lines 6 - 8
class CheeseSearchFilter extends AbstractFilter
{
// ... lines 11 - 36
}
See Code Block in Script
25 lines | src/Validator/ValidIsPublished.php
// ... lines 1 - 4
use Doctrine\Common\Annotations\Annotation\Target;
// ... lines 6 - 7
/**
// ... line 9
* @Target({"CLASS"})
*/
class ValidIsPublished extends Constraint
{
// ... lines 14 - 23
}
See Code Block in Script