MongoDB is a document oriented NoSQL database. MongoDB supports journaling, datacentre-aware replication and auto-sharding to guarantee high availability. The database manages collections of BSON (a superset of JSON) documents. The major distinction between NoSQL and SQl is that NoSQL allows you to ...

learn more… | top users | synonyms

0
votes
0answers
7 views

Symfony2 MongoDB File Upload with Reference

Following the post outlined here: http://php-and-symfony.matthiasnoback.nl/2012/10/uploading-files-to-mongodb-gridfs-2/ I'm attempting to get Symfony2 to upload a image to MongoDB. The difference ...
0
votes
1answer
27 views

Issue with boolean query in mongo php

I need to perform a query based on the value of some boolean fields. These fields may not exist in some documents, as they were added at a later stage. I tested the query in the shell and worked ok: ...
0
votes
2answers
54 views

How can I add/insert to a subdocument array in CakePHP?

Ok, so I have done alot of searches on this site and Google and found some answers, but none of it has worked. I also have checked out @ichikaway's site and test procedures. Even the thing in there ...
0
votes
2answers
62 views

Mongodb update several documents with different values

i am trying to update several documents in mongodb with different values each. In mysql I do something like this: $objs = ...
0
votes
1answer
26 views

MongoDB keeps giving me null

I have some difficulty in getting Mongodb aggregate to work. It keeps giving me null. Please help. Below are the codes written in php. Thanks. What I want to do is to sum up the values of 2 fields, ...
1
vote
1answer
35 views

MongoDB Geospatial query result not getting in order of Distance

I am new to mongodb, trying to fetch result from mongodb using geospatial. With this ...
0
votes
0answers
43 views

mongodb php driver installation issue in redhat.

My server Os is redhat. I installed mongodb 2.2.3 version successfully in my server. i used this link for reference ...
0
votes
1answer
60 views

Locking in MongoDB for a Pintrest like website

One of our client projects is a Pinterest like website. It was made with MySQL and CodeIgniter some time back. As they have recently gotten funding and hopefully will get a lot more traffic. We are ...
0
votes
1answer
22 views

Expiring elements inside mongodb document

Note: First time using MongoDB. Technology: php mongodb Scenario: The data is suppose to hold programs offered. Document looks like: { LocationName: 'name of the location', LocationAddress: ...
0
votes
1answer
49 views

Slow (high latency) upon queries with sort mongoDB

I am currently migrating from couchdb to mongodb, still learning this stuff and have a problem anytime I do some queries with sorting in my webpage. I am using codeigniter as the framework and using ...
0
votes
0answers
31 views

Installing PHP Extensions for Mongo DB; problems with php.ini file

I installed mongodb (mongodb-osx-x86_64-2.4.3) and was then trying to add the extension libraries for php. Following the manual install instructions at ...
0
votes
1answer
53 views

PHP Mongo:command not found

I have been trying to use the mongo::command in PHP to build a MapReduce but every time I run my code I get the following error: PHP Fatal Error, call to undefined method "mongo:command" My Code: ...
-1
votes
4answers
50 views

Server-side Framework/Language for MongoDB

If MySQL walks hand-in-hand with PHP, what is the equivalent of the MongoDB? Is there any framework that works efficiently and matured with MongoDB?
1
vote
0answers
29 views

Update different values in same field for all documents in a collection (in one query?)

Im trying to get fblikes/url (each document has a url) into my mongodb collection. First I get all documents in my collection to a php array/object Then I get Facebook (fql) likes for each document ...
0
votes
0answers
71 views

MongoCollection::aggregate() is undefined in Heroku PHP using MongoHQ

I'm getting the following error when using MongoDB's aggregate() function in a PHP code. This code perfectly works on my local setup which is running MongoDB 2.2.3 PHP Fatal error: Call to undefined ...

1 2 3 4 5 18
15 30 50 per page