Tag: mongodb

53 votes
7 answers
604 views
When to use CouchDB over MongoDB and vice versa

I am stuck between these two NoSQL databases. In my project I will be creating a database within a database.

avatar
Margo
0 1 0 9
asked 07 September, 2021
48 votes
14 answers
3.1K views
Query for documents where array size is greater than 1

I have a MongoDB collection with documents in the following format: { "_id" : ObjectId("4e8ae86d08101908e10

avatar
Benton
0 1 0 9
asked 07 September, 2021
56 votes
22 answers
2.4K views
How can I list all collections in the MongoDB shell?

In the MongoDB shell, how do I list all collections for the current database that I'm using?

avatar
Jeff
0 1 0 9
asked 07 September, 2021
67 votes
20 answers
2.6K views
How do I drop a MongoDB database from the command line?

What's the easiest way to do this from my bash prompt?

avatar
Boyd
0 1 0 9
asked 07 September, 2021
57 votes
16 answers
374 views
"Large data" workflows using pandas

I have tried to puzzle out an answer to this question for many months while learning pandas. I use SAS for my

avatar
Robyn
0 1 0 9
asked 07 September, 2021
49 votes
30 answers
1.3K views
How to query MongoDB with "like"

I want to query something with SQL's like query: SELECT * FROM users WHERE name LIKE '%m%' Ho

avatar
Shanita
0 1 0 9
asked 07 September, 2021