Joined August 2011
·
mpj

Mattias Petter Johansson

JavaScript Developer at Spotify
·
Stockholm, Sweden
·
·
·

Posted to Tailable cursors in MongoDB over 1 year ago
  1. It seems to actually be that the option is "awaitdata" nowadays, not "await_data" like it currently says in the post.
  2. It should be noted that the tailable cursor wont work if the collection is empty, so if you're unit testing, and clearing your database, you need to create an initial row or something before setting up the tail.
Achievements
84 Karma
456 Total ProTip Views