Skip to content

Addded Examples for $pull'ing Objects #1863

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

Albert-IV
Copy link
Contributor

There wasn't any documentation on how to $pull a specific entry
in an array of objects.

I've added a couple examples showing how you can do so. I'm
not 100% about the $gte example, but I'm 99% sure that is
correctly done.

Example Link:
http://stackoverflow.com/questions/9048424/removing-specific-items-from-array-with-mongodb

There wasn't any documentation on how to `$pull` a specific entry
in an array of objects.

I've added a couple examples showing how you can do so.  I'm 
not 100% about the `$gte` example, but I'm 99% sure that is
correctly done.
@Albert-IV
Copy link
Contributor Author

If you need these examples to not use TV Shows as example data I can alter it.

@kay-kim
Copy link
Contributor

kay-kim commented Jul 2, 2014

Thank you so much for your contribution. If you could sign the contributor agreement which can be found http://www.mongodb.com/legal/contributor-agreement. Once merged, we can tweak all the examples on the page to be somewhat consistent. Thank you again.

Regards,

Kay Kim

@Albert-IV
Copy link
Contributor Author

Alrighty, I just signed and validated the contributor agreement.

Is this a new requirement? I had a PR merged in a month or two ago without signing anything.

@kay-kim
Copy link
Contributor

kay-kim commented Jul 2, 2014

Thank you. Not a new requirement. For smaller changes, we usually don't require the contributor agreement.

@Albert-IV
Copy link
Contributor Author

Right on, no worries. Thanks!

@kay-kim
Copy link
Contributor

kay-kim commented Jul 2, 2014

Merged. Thanks again!

Regards,

Kay Kim

@kay-kim kay-kim closed this Jul 2, 2014
mongo-cr-bot pushed a commit that referenced this pull request Sep 12, 2022
* DOCS-15330 opportunisticSecondaryTargeting (#1824)

* DOCS-15330 Adds server parameter

* DOCS-15330 Updates description

* DOCS-15330 Updates notice

* DOCS-15330 Updates metadata

* DOCS-15330 Updates notice

* DOCS-15330 Fixes per Joe

* DOCS-15330 Fixes per Joe

* DOCS-15330 Fixes per Vojislav

* DOCS-15330 Version update per Jira
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