sedouard / mongodb-mva Goto Github PK
View Code? Open in Web Editor NEWYou've Got Documents! A MongoDB Jump Start
You've Got Documents! A MongoDB Jump Start
Hi,
is a very great tutorial.
at the part you are changing /etc/mongod.conf file,
you have to execute vim with sudo right.
overwise, you can't save the file.
Ygal
Zipped version of the Chicago crime data is not available.
Stuck at Loading.
https://mva.microsoft.com/en-US/training-courses/you-ve-got-documents-a-mongodb-jump-start-8654
Tested on Chrome,Firefox and Edge.Seems to be down
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.
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 })
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
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!
the mongodb default port is 27017 not 27107. If you insited on using 27107,would you please add a Warning or Note?
Abe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.