Hey gang, in this Mongodb tutorial I’ll show you how we can reference records by their object ID .

+ Repo –
+ Atom editor –
+ Download GIT –
+ MongoDB –
+ Robomongo –

JS Playlist –

NODEJS Playlist –

ASYNC JS Playlist –

You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress, Node.js & more on the channel homepage…


========== PSD to WordPress Playlist ==========

============ Node.js for Beginners Playlist =============

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to – or

================== Social Links ==================

Twitter – @TheNetNinja –


  1. I think you helped me a lot with a problem I had for some days. But what's the name for the package you use for the " describe; it; beforeEach" functions?

  2. I get this error (Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure
    it resolves.) when I test to save data

  3. I Have Problem I Can't Make Query So It Says

    λ npm run test

    > [email protected] test C:mongodbmongodb-playlist
    > mocha

    Connection Has Been Made Successfully
    Finding Records
    1) "before each" hook

    Adding Number To Another
    √ Saving The Data Into

    1 passing (214ms)
    1 failing

    1) Finding Records "before each" hook:
    Uncaught ReferenceError: done is not defined

    Any Clue ?

  4. first time ive had any problem with your tutorials, for some reason it is telling me _id is undefined and im not very sure why. all other tests are passing


Please enter your comment!
Please enter your name here