Tagged Questions
0
votes
1answer
147 views
MongoDB $addToSet not working
I am not sure why but I am having a really hard time getting the $addToSet working for my sub array items
This is what it should look like
{
"items": [
{
"id": ...
0
votes
4answers
401 views
MongoDb insert error (php) - BSON doc is X bytes, max is 0
I just started using MongoDB. i can insert new records in terminal with mongo command like:
db.test.insert({var: 'data' }) .
And i can get these records with php, like:
Array
(
[0] => Array
...
1
vote
2answers
77 views
PHP + MongoDB: Error when trying to insert an multi-dimension array into MongoDB
I’m working on a test-application for my master thesis where I’m trying to create a very simple blog to show some of the advantages, disadvantages, features, and so on about using MongoDB.
I’ve ...