2725 search results for Doctrine

... https://github.com/JohnRCrawford/awesomebrick/blob/article/src/AwesomeBrick/CRMBundle/Resources/config/doctrine/Article.orm.yml Am I missing something?
... /filters/#doctrine-orm-and-mongodb-odm-filters And so... you MIGHT be able to add a "filters=" option under the collectionOperation's config (instead of inside ApiResource). But, I'm doing some guessing. And for this to ...
weaverryan
weaverryan
Read Full Comment
Hey jlchafardet That's an interesting query you're building. First, in order to use the YEAR & MONTH functions, you need to install that library, Doctrine does not have them enabled by default. Second, you cannot ...
MolloKhan
MolloKhan
Read Full Comment
He weaverryan! Thanks for your fast reply. Although I'm using the dataprovider like in the 'Leveraging the Doctrine Data Provider'-course I loose al extra hydra data like pagination, total items etc. Also I'm not able ...
... this error... and it's still a mystery to me. Here's a thread on this topic - https://symfonycasts.com/screencast/symfony-doctrine/console#comment-5045615493 - I wish I better understood the root cause of this... it's really annoying... but I don't. I never get it on my system. Anyways, let me know if that thread helps :) Cheers!
weaverryan
weaverryan
Read Full Comment
... like to use it lo populate a menu like this: $menu = $factory->createItem('root'); $permissions = $this->container->get('doctrine')->getManager() ->getRepository('MenugenBundle:Role')->MarkedRolePermissions('1 ...
BondashMaster
BondashMaster
Read Full Comment
... *inverse* side of the relationship - so Doctrine is completely ignoring it! So, why does adding work? Because in User::addInterest, you've cleverly set the *owning* side by having``` $interest->addUser($this)``` To fix ...
weaverryan
weaverryan
Read Full Comment
Hey Cameron, You definitely should not call remove() method twice for the same object. If the object was already removed - Doctrine will throw an error saying that it cannot delete it (that makes sense, it was deleted ...
... The only disadvantage (which might really be fine) is that whenever you query for your User object, Doctrine will automatically also query for your Person object. But if you're routinely using that data anyways... that ...
weaverryan
weaverryan
Read Full Comment
I did it. Now it says the following: The Doctrine connection "other" referenced in service "stof_doctrine_extensions.listener.timestampable" does not exist. Available connections names: "default". Do I have to manually ...
Hey @Farry7! Can you share your code? Especially the code (or related code) that calls the setMeasurementMeetstaat() method. One of the odd (you'll eventually like it, but it's odd at first) things about Doctrine ...
weaverryan
weaverryan
Read Full Comment
Small question.. in Symfony 5.2+ there using Attributes from php8 instead of doctrine Annotations... if your environment (php is >8+)... my question is how to handle the {} in annotations to attributes ...
Hey @Fabien! That’s a very fair criticism - and your information is correct and detailed :). What I should have said is that - in symfony - the doctrine transport as a failure transport - implements a few features ...
weaverryan
weaverryan
Read Full Comment
Hey m3tal! Hmm. Do you happen to have any `cascade={"persist"}` on any of your Doctrine annotations for the relationships? Also, could you pass the stack trace of the error (if you don't see it in the terminal, you can ...
weaverryan
weaverryan
Read Full Comment
... want (last 5 or last 30 days). You can use Doctrine’s criteria system to do this efficiently (without querying for ALL the transactions... only to limit them later). Details at https://symfonycasts.com/screencast/doctrine ...
weaverryan
weaverryan
Read Full Comment
... the Criteria system explained here - https://symfonycasts.com/screencast/doctrine-relations/collection-criteria Let me know if that helps! Cheers!
weaverryan
weaverryan
Read Full Comment
Hey Farry7, Basically, it's the same principle. But those terms are coming from Doctrine that is standalone library, Symfony just has integration for it. And also because entity is a bit more complex actually as it's ...
... My question is, can i add "isAdministrator" to company_employee relational table and how can i do it using doctrine/symfony make tool, since there is no entity for the relational table?
... Hey Ryan, I've a question about formtypes, I have a form builder for an entity with a relationship to other entity, when I create an Edit Action I found that doctrine is making 2 queries, in order to create the select ...
MolloKhan
MolloKhan
Read Full Comment
... ' => '?'.AuthorizationCheckerInterface::class, 'twig' => '?'.Environment::class, 'doctrine' => '?'.ManagerRegistry::class, 'form.factory' => '?'.FormFactoryInterface::class, 'security.token_storage ...