2709 search results for Doctrine

Hi, I faced the same issues mentioned below and in the previous video whereby I had to specify api-platform/api-pack "1.2.0" and doctrine/doctrine-migrations-bundle "^2.0" and now I'm getting a connection refused error ...
Freddie's flowers
Freddie's flowers
Read Full Comment
... require doctrine/doctrine-migrations-bundle "^2.0" I installed migrations and then tried to create the doctrine:database create it throws this error. I restarted the mysql server and tried several times.
CloudCreators
CloudCreators
Read Full Comment
Yo @Arthur! Are you building a data provider that ultimately pulls from Doctrine? Or is it a completely custom data provider that gets the data from somewhere else? Usually, if I just want to modify how the data is ...
weaverryan
weaverryan
Read Full Comment
... using an actual Doctrine relationship. In the database, both options result in the same structure: your memo table will have a user_id column. But if you map this as a true ManyToOne relationship, then you *should* be ...
weaverryan
weaverryan
Read Full Comment
... ) in releasing other Symfony 5 tutorials. However, though they use a different project, the Symfony 4 versions of the next few tutorials - are still quite good and relevant. They are: * Doctrine relations: https ...
weaverryan
weaverryan
Read Full Comment
... efficiently by using the doctrine criteria system - https://symfonycasts.com/screencast/doctrine-relations/collection-criteria Let’s me know if this helps... or if I missed some complication ;). Cheers!
weaverryan
weaverryan
Read Full Comment
... (SymfonyCasts !! keuzevak)\Uitwerkingen\5. Symfony Security - Beautiful Authentication, Powerful Authorization\vendor\doctrine\doct !! rine-migrations-bundle\DependencyInjection/../Resources/config/).``` I've ...
Why doesn't this work
Why doesn't this work
Read Full Comment
Hi everybody, I have problem. I dont get name of database after I wrote:SHOW DATABASES. I get just arrows..... Do you have idea where is problem? bruch@bruch-Latitude-E6520:~/Stažené/code-symfony-doctrine/start$ sudo ...
Vojtěch Janoušek
Vojtěch Janoušek
Read Full Comment
... instance of Doctrine\Common\Cache\ArrayCache given. MarkdownTransformer.php: namespace AppBundle\Service; use Knp\Bundle\MarkdownBundle\MarkdownParserInterface; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache ...
Roy Hochstenbach
Roy Hochstenbach
Read Full Comment
Hello! During one of the last doctrine update, my migrations table has been cleaned out. It only contains the last migrations I have made. Was ok until now as the migrations folder has been also changed (was under src ...
... POSTGRES_USER: main POSTGRES_DB: main ports: - target: 5432 published: 5432 protocol: tcp ``` // packages/doctrine.yaml doctrine: dbal: url ...
Hey @Med! Yep! Symfony's security system doesn't care if your User object is loaded via Doctrine ORM, Doctrine ODM or via an alien spaceship ;). So that's good. However, I don't believe that the ODM integrates *that ...
weaverryan
weaverryan
Read Full Comment
Hey Geoffrey, Yes, it might be different with different transports. For example, IIRC, Doctrine transport does not allow you to work with binary files because of limitation of MySQL that does not allow storing binary ...
Hey Ryan. I think I saw the problem but didn't resolve for now. When using a CollectionType in my form, each custom form field defined as entry_type is wrapped into an array. So, when flushing, doctrine says "I want an ...
About mocking model-objects (in my case Doctrine entities): The service which I'm testing makes use of the auto-generated ID of the provided entity. However, the Doctrine entity does not have a setId()-method, so ...
Thijs-jan V.
Thijs-jan V.
Read Full Comment
... for someone with a lot of database experience, I *consistently* see that problem with Doctrine: it's super hard to think about classes & objects instead of tables and columns, especially with Doctrine relations ...
weaverryan
weaverryan
Read Full Comment
... but I'm not sure - I've never tried (http://knpuniversity.com/screencast/doctrine-queries/joins-reduce-queries). Doctrine really wants your User object to always be the same - it would be a little weird if sometimes I ...
weaverryan
weaverryan
Read Full Comment
... ": "^1.2", "doctrine/doctrine-migrations-bundle": "^2.0", "nesbot/carbon": "^2.17", "symfony/console": "4.3.*", "symfony/dotenv": "4.3.*", "symfony/flex": "^1.1", "symfony ...
abdouniabdelkarim
abdouniabdelkarim
Read Full Comment
... \EventBundle\DataFixtures\ORM\LoadEvents [Doctrine\ORM\Query\QueryException] [Syntax Error] line 0, col -1: Error: Expected Literal, got end of string. [Doctrine\ORM\Query\QueryException] SELECT u FROM Yoda\UserBundle ...
... work is to use Doctrine Inheritance mapping. It allows you to manage hierarchies. Docs: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/inheritance-mapping.html#class-table-inheritance Or, you ...
MolloKhan
MolloKhan
Read Full Comment