In the MongoDB shell, how do I list all collections for the current database that I’m using?
All of my records have a field called “pictures”. This field is an array of strings.
I now want the newest 10 records where this array IS NOT empty.
I’ve googled around, but strangely enough I haven’…
I’m looking for an operator, which allows me to check, if the value of a field contains a certain string.
Is that possible?
I am writing a webapp with Node.js and mongoose. How can I paginate the results I get from a .find() call? I would like a functionality comparable to “LIMIT 50,100” in SQL.
I’m looking for a database to pair with a node.js app. I’m assuming a json/nosql db would be preferable to a relational DB [I can do without any json/sql impedance mismatch]. I’m considering:
What does going with a document based NoSQL option buy you over a KV store, and vice-versa?
I’m receiving the following warning from mongodb about THP
2015-03-06T21:01:15.526-0800 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is ‘always’.
I have an Email document which has a sent_at date field:
‘sent_at’: Date( 1336776254000 )
If this Email has not been sent, the sent_at field is either null, or non-existant.
I need to get the …
Is there a simple way to export the data from a meteor deployed app?
So, for example, if I had deployed an app named test.meteor.com…
How could I easily download the data that has been collected …
When using MongoDB, are there any special patterns for making e.g. a paged view?
say a blog that lists the 10 latest posts where you can navigate backwards to older posts.
Or do one solve it with an …