Joined August 2011
·
Posted to
Tailable cursors in MongoDB
over 1 year
ago
- It seems to actually be that the option is "awaitdata" nowadays, not "await_data" like it currently says in the post.
- 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
461 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Kona
Have at least one original repo where CoffeeScript is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Lab
Have at least one original repo where C# is the dominant language