Suposse tou have the following collection with only 2 documents:
If you run an aggregation query and use { $unwind: "$traits" } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?
Which of the following is true of the mechanics of replication in MongoDB? Check all that apply.
Write the command(s) are correct to enable sharding on a database "testdb" and shard a collection "testCollection" with _id as shard key.
You perform the following query on the sayings collection, which has the index
{ quote : "text" }:
Assuming the documents below are in the collection, which ones will the following query return? Check all that
apply.
db.sayings.find( { $text : { $search : "fact find" } } )
Currently there are no comments in this discussion, be the first to comment!