MongoDB interactive tutorial
11–20 of 26 posts
Re: MongoDB interactive tutorial
#12Pretty good overall though.
Re: MongoDB interactive tutorial
#13Re: MongoDB interactive tutorial
#14Re: MongoDB interactive tutorial
#15Lesson 6 asks for 'Here's a tricky one: get ONLY the NAMES of the 2nd and 3rd heaviest male unicorns' Which made me query: db.unicorns.find({gender:'m'}, {name:1, _id:0}).sort({weight:-1}).skip(1).limit(2) but it wants: db.unicorns.find({gender:'m'}, {name:1}).sort({weight:-1}).skip(1).limit(2)
Re: MongoDB interactive tutorial
#16Awesome tutorial. It's always fun to mess around with things like this. I am running into a problem with sorting though. On lesson 6 I am sorting with {weight:1} which the tutorial says is wrong, but I get the same answer as sorting on {weight: -1} which is correct according to the tutorial. Or is this a mongodb thing? Anyway, keep up the good work.
Re: MongoDB interactive tutorial
#17After lesson 16 all the instructions disappeared and I was left with a white screen. Tried to go to a different lesson or the restart command but the instructions didn't come back. Couldn't replicate the problem unfortunately.
Re: MongoDB interactive tutorial
#18Re: MongoDB interactive tutorial
#19Good tutorial. After lesson 16 all the instructions disappeared and I was left with a white screen. Tried to go to a different lesson or the restart command but the instructions didn't come back. Couldn't replicate the problem unfortunately.
Re: MongoDB interactive tutorial
#20I tried the first one "It's easy, just enter db.getCollectionNames();" Received: "undefined method `collection_names' for nil:NilClass" Edit: It's relying on my cookie which wasn't enabled, oops. The official MongoDB interactive tutorial: http://try.mongodb.org/ Seems to be a clone of redis: http://try.redis-db.com/