python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to handle migrations with multiple entity managers in DoctrineMigrationsBundle 3
On doctrine/doctrine-migrations-bundle 2.* this was relatively simple - use the --em option (and use ContainerAwareInterface to skip any migrations from a different em/connection).
Now (on doctrine/do...
Matt Bennett
Votes: 0
Answers: 1
Is there a better way to achieve multiple connection to database in Symfony 6?
I'm having some trouble trying to achieve multiple connection to database in some clean way.
Keep in mind that this is my first symfony project ever, and i'm only a young developer.
In my project, the...
Corentin Durey
Votes: 0
Answers: 0
How to get column properties in Doctrine custom type convertToDatabaseValue function?
As the title suggests, I am making my own Type in Doctrine and the type has its precision and scale options in getSQLDeclaration() function. I need somehow to access these from convertToDatabaseValue(...
michnovka
Votes: 0
Answers: 1
Doctrine IF Statement
I have the following code in Doctrine:
return $this->createQueryBuilder('t')
->where('t.status LIKE :status')
->orderBy('t.createdAt', 'DESC')
->setPar...
Richard Bridge
Votes: 0
Answers: 2