phpcr-odm
phpcr-odm copied to clipboard
Doctrine PHPCR ODM
Im going through the documentation of the query builder to find how I must deal with assigning parameters during the query build process. this is what I come across: https://www.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/query-builder-reference.html#gt-parameter...
What is the correct way to define allowed children class ins XML? Docs [say](https://www.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/association-mapping.html#child-restriction): ```xml Article Page ``` Schema says: ```xml ```
When querying for children of node with path which contains `-e`, Query Builder throws InvalidQueryException. ``` $path = '/cms/site1/routes/it/home/test-1e'; $qb = $this->manager->createQueryBuilder(); $qb->fromDocument(AutoRoute::class, 'a'); $qb->where()->child($path, 'a'); $out = $qb->getQuery()->execute(); ```...
caching query results could improve the performance significantly. once done, also update DoctrinePHPCRBundle to integrate the cache with symfony.
Building a query like the following: ``` SELECT * FROM [nt:unstructured] AS a WHERE ( [phpcr:class] = 'AppBundle\Document\Article’ OR [phpcr:class] = 'AppBundle\Document\Video’ OR [phpcr:class] = 'AppBundle\Document\Crew’ ) AND ( a.tags...
I found this while trying to rename a route (from the RoutingBundle) with setName, the cause is a bit difficult to describe ... First you need a parent with mapped...
a couple of tests fail when running jackalope-doctrine-dbal with sqlite instead of postgres / mysql the problem is with ChildTranslationStrategy::alterQueryForTranslation that does a QueryObjectModelConstantsInterface::JCR_JOIN_TYPE_RIGHT_OUTER to join a node with its...
Currently if you want to store an object as a property of a document, you need to map it as a child document Doctrine ORM has the option to store...
I wonder if it would be possible to create a field type which would map a collection of child nodes to the property. ``` php $image1 = new Image(); //...