mongodb-php
Indexing of Object keys in MongoDB
I have this structure { \"_id\": \"willwill\", \"rental\": { \"hitchhikergalaxy\": {[...]}, \"animalfarm\": {[..]}[详细]
2023-04-13 08:36 分类:问答MongoDB change order of array in document
so here is my current data structure: [parents] => Array ( [0] => Array ( [title] => Test 1 ) [1] => Array ([详细]
2023-04-12 16:07 分类:问答PHP MongoDB update multiple fields with one query
I\'ve tried running this query: $collection->update( array(\'_id\' => \'mongoIDhere\'), array( \'$set\' => array(\"parent\" => \'data\'),[详细]
2023-04-12 07:48 分类:问答Why $pull operator doesn't work on MongoDB when using empty criteria?
I have nodes like this: [_id] => MongoId Object ( [$id] => 4e90cb3cd68417740c000017 ) [label] => mystery[详细]
2023-04-12 05:56 分类:问答Select unique fields from array using MongoDB
I have a MongoDB structure which currently looks like this: [campaigns] => Array ( [0] => Array ([详细]
2023-04-11 15:03 分类:问答PHP MongoDB find nested element
How can I do a select for all documents that have a parent.id that is equal to 3? I t开发者_运维百科ry doing this.parents.id == 3, but it doesn\'t seem to be working...[详细]
2023-04-07 04:56 分类:问答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\"开发者_如何学JAVA: new RegExp(\"public true*\", \"i\[详细]
2023-04-05 06:43 分类:问答MongoDB & PHP - Returning a count of a nested array
Imagine I have a MonogDB collection containing documents as follows: {name: \'Some Name\', components: {ARRAY OF ITEMS}}[详细]
2023-04-05 01:35 分类:问答Suppress generation of _id on insert via PHP mongoDB driver on a capped collection
I have a capped collection witho开发者_JAVA技巧ut an _id index and I don\'t need the _id at all,[详细]
2023-04-01 18:19 分类:问答MongoDB "Connect failed. Operation now in progress"
yesterday appeared a strange behaviour: on small load all queries take long time and then site return error[详细]
2023-03-29 13:36 分类:问答