GithubHelp home page GithubHelp logo

mongodb-mva's Issues

MongoDB NodeJs driver updated

MongoDB Node.js Driver most probably updated, because when you try to get docs.length after inserting a document in callback function it return undefined in module 4 crud functionality. A little change is required as
"docs.ops.length" and the code changed respectively as
for(var i in docs.ops){
console.log(docs.ops[i].length);
}
docs in callback doesn't return a db object but a wrapper "ops" around that db object.

Wrong db query in Module 2

Given ..
db.bank_data.find({ accounts: { $elemMatch : { "account_type": {$ne: "Checking"}, "currency": "USD", 'account_balance' : { $gt: 9900000 } } } } ).sort({ accounts.account_balance: -1 })

db.bank_data.find({ 'accounts.account_balance': {$gt: 9000000}, 'account.currency': 'USD' })

should be.....

db.bank_data.find({ 'accounts.account_balance': {$gt: 9000000}, 'accounts.currency': 'USD' })

db.bank_data.find({ accounts: { $elemMatch : { "account_type": {$ne: "Checking"}, "currency": "USD", 'account_balance' : { $gt: 9900000 } } } } ).sort({ "accounts.account_balance": -1 })

Missed db in mongodbimport

Now - is not working for default installation
mongoimport "C:\Program Files\MongoDB\Server\3.0\bin\bank_data.json" --jsonArray --collection bank_data

Should be
mongoimport "C:\Program Files\MongoDB\Server\3.0\bin\bank_data.json" --jsonArray --db test --collection bank_data

"npm install" command not found - windows cmd

I cloned your repository and when navigating with the command line to accomplish Step 1 of Module 3 (i.e. do the "npm install" piece) , I encountered "'npm' is not recognized as an internal or external command..." --- Is there another piece of the puzzle I missed? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.