Top "Doctrine-odm" questions

Doctrine Object Document Mapper is built for PHP 5.3.2+ and provides transparent persistence between PHP objects and data stores such as MongoDB, CouchDB, OrientDB, and PHPCR.

How do I force doctrine to reload the data from the database?

I'm using doctrine/mongodb 1.0.0-BETA1 in a symfony2.1 install. So i'm trying to force my repository to call data from …

symfony-2.1 doctrine-odm
Doctrine undefined function apc_fetch

I'm using this tutorial, which gives a detail explanation about how to set up CodeIgniter and Doctrine. I'm using CodeIgniter 2.1.0 …

codeigniter doctrine doctrine-orm doctrine-odm
Symfony there are no commands defined in the "make" namespace

Following the documentation found here I enter php bin/console make:entity Product in Terminal and get the following error: […

php symfony terminal doctrine-odm
MongoDB ODM SELECT COUNT(*) equivalent

I wonder if there is an equivalent to the MySQL-Query: SELECT COUNT(*) FROM users in MongoDB ODM? This might work: $…

mongodb doctrine-odm
FOSRestBundle and JMS Serializer, error when geting JSON

I have been trying out Symfony 2.2, the FOSRest Bundle (using JMS Serializer), and Doctrine ODM using MongoDB. After many hours …

php mongodb symfony doctrine-odm fosrestbundle
Doctrine Mongodb ODM and DateTime query

I could use some help on this problem. I'm creating an application using Symfony2 + mongodb + doctrine. I just want to …

php mongodb symfony doctrine-orm doctrine-odm
Doctrine2 Entites - Is it possible to compare a "dirty" object to one from the database

Is it possible to compare the state of an entity object between the current "dirty" version (an object that has …

php symfony doctrine-orm doctrine-odm
Zend Framework 2 + Doctrine ODM, "The Class was not found in the chain configured namespaces" error?

When setting up ZF2 + ODM, I'm getting the following error: The class 'Application\Document\User' was not found in the …

mongodb doctrine-orm zend-framework2 doctrine-odm odm
MongoException: zero-length keys are not allowed, did you use $ with double quotes?

I'm using symfony2 and mongodb, until today, everything is OK, but I create a new document, and suddenly, appears this …

mongodb symfony doctrine-odm
JMS Serializer Deserialize with abstract parent class

I have an abstract parent (mapped super-)class which has several children with different properties which I'd like to deserialize. …

symfony deserialization doctrine-odm jmsserializerbundle