Skip to content

Updated examples to use aggregation cursor and crud spec for 2.0 #2217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

christkv
Copy link
Contributor

No description provided.

@@ -208,7 +207,7 @@ operation:
language: javascript
code: |
var removeRestaurants = function(db, callback) {
db.collection('restaurants').remove( {}, function(err, results) {
db.collection('restaurants').removeMany( {}, function(err, results) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Christian --
this example, it's not deleteMany? So, in node, we have deleteOne, deleteMany, and removeMany?

@kay-kim
Copy link
Contributor

kay-kim commented Mar 11, 2015

merged. also updated removeMany to deleteMany in that example

@kay-kim kay-kim closed this Mar 11, 2015
mongo-cr-bot pushed a commit that referenced this pull request Dec 1, 2022
… (#2217)

* change  to brackets

* tech review feedback

* tech review feedback pt 2

* copy review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants