Tags » Mongo

How to correctly increment a number in Rails [Handling Concurrency]


Imagine you have a Visits collection at your rails application, and it has an attribute called counter. Every time an user visits one of your application’s page, the attribute gets incremented. 173 more words

Create Mongo DB Service for windows

Configure a Windows Service for MongoDB Community Edition


Open an Administrator command prompt.

Press the Win key, type cmd.exe, and press Ctrl + Shift + Enter… 255 more words


Geo Spatial Query

Save date in a form of json in mongo db:

    "_id" : ObjectId("57e75af5eb1b8edc94406943"),
    "userId" : "01",
    "displayName" : "Cop 1",
    "phone" : "01",
    "email" : " 269 more words

5 Under 5000: Beautiful Bangers

SoundCloud remains as one of best ways to access unique and underappreciated music. 5 Under 5000 spotlights five artist who haven’t yet hit the milestone of 5000 followers on the platform, but really should’ve by now. 714 more words



Why is that you rarely (meaning never) stumble across a tutorial for <–insert js framework here–> that makes use of one of the most widely used databases available? 665 more words


#Progress-Report MEAN stack

I’m still figuring MEAN stack out…It’s taking more time than I thought…


Import/Export JSON data to MongoDB

Hey Guys, this is my first post related to MongoDB. Please comment, post any suggestions to improve.

Like Relational databases say Oracle we have datapump utility to export/import data to databases, we have similar functionality in MongoDB using MongoImport/MongoExport utilities. 286 more words