Tagged Questions
3
votes
1answer
211 views
Prevent duplicate login with FOSUserBundle
Our application is using Symfony 2.0 and MongoDB with FOSUserBundle for user management.
Client wants to prevent login with the same username from different device at the same time in their ...
1
vote
1answer
404 views
Doctrine2 Mongodb adding more $or operator
It is possible for doctrine2 ODM to create the following query?
db.Product.find({ "$or": [ { "name": new RegExp("test*", "i") }, { "tags": new RegExp("public true*", "i") } ], "$or": [{ "public": ...
11
votes
1answer
3k views
DoctrineMongoDBBundle getting a fatal error in Symfony2
I'm following the directions here:
http://symfony.com/doc/2.0/bundles/DoctrineMongoDBBundle/index.html
I have installed deps:
#deps
[doctrine-mongodb]
git=http://github.com/doctrine/mongodb.git
...
2
votes
3answers
951 views
Symfony2 's mongoDB returns a loggablecursor instead of my entities
I currently use the DoctrineMongoDbBundle to make requests the my mongodb database.
Here's the call in my controller:
$dm = $this->get('doctrine.odm.mongodb.document_manager');
$entities ...
3
votes
1answer
687 views
symfony2 form choice and mongodb
When using Entity we can load choices from Entity via form field type entity
$builder->add('group', 'entity', array(
'class' => 'Fist\CoreBundle\Document\Group',
));
but when using ...
1
vote
1answer
671 views
mongodb symfony user authentication?
Is there any way to implement a MongoDB/Document/User based authentication on Symfony2 ?
Currently on security/providers we have the type "entity:" type which depends on doctrine-orm, but obviously ...
0
votes
1answer
201 views
FOSRestBundle and Mongodb cursor object to json
I'm currently working on a RESTful API using Symfony2 with FOSRestBundle.
I love Mongodb, so i've implemented just that, here is a snippet of my usercontroller.
/**
* @return View view instance
...