Tags » Mongodb

Migrating Oracle Sample Schema to MongoDB

Migrating Oracle Sample Schema to MongoDB

It is not an easy feat to migrate your current application using Oracle or any relational database to MongoDB. You will need to… 1,476 more words

Database

MongoDB - Aggregation

db.stuff.insert({ “_id” : ObjectId(“50b26f9d80a78af03b5163c8”), “a” : 1, “b” : 1, “c” : 1 })
db.stuff.insert({ “_id” : ObjectId(“50b26fb480a78af03b5163c9”), “a” : 2, “b” : 2, “c” : 1 }) 85 more words

MongoDB

MongoDB - Aggregation

Aggregation Commands
aggregate
count
distinct
group
mapReduce

Aggregation Methods

https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline/
Pipeline Aggregation Stages
$collStats
$project
$match
$redact
$limit
$skip
$unwind : Deconstructs an array field from the input documents to output a document for… 99 more words

MongoDB

MongoDB - Aggregation

use agg
db.products.drop()

db.products.insert({‘name’:’iPad 16GB Wifi’, ‘manufacturer’:”Apple”,
‘category’:’Tablets’,
‘price’:499.00})
db.products.insert({‘name’:’iPad 32GB Wifi’, ‘category’:’Tablets’,
‘manufacturer’:”Apple”,
‘price’:599.00})
db.products.insert({‘name’:’iPad 64GB Wifi’, ‘category’:’Tablets’,
‘manufacturer’:”Apple”,
‘price’:699.00})
db.products.insert({‘name’:’Galaxy S3′, ‘category’:’Cell Phones’, 127 more words

MongoDB

Using Nodejs & Expressjs to Upload and save Image Files into MongoDB (Part 2/3)

This is a follow-on to Part 1, an introductory post

This example will use the Expressjs templating engine. Expressjs can be a deep and mind boggling domain but we’ll use only two of its key features, … 624 more words

Javascript

Free Nodejs & MongoDB Hosting at Heroku & mLabs (Part 1/3)

Node.js has been all the rage for several years now. The momentum and traction since ~2014 seems to have caught the ‘enterprise community’ off guard. Data center penetration is growing and raising alarms with Chief Information and Computer Security Officers, mostly concerned over source code pollution at GitHub and NPM. 299 more words

Javascript

Orient Me and mongoDB connection failures

I have been banging against a mongoDB wall for a good few days as explained in another post but I’m slowly getting there. The problem I was facing was that the migration application in the people-migrate container wasn’t working. 551 more words

Connections