Skip to content

Add default property to getIdAttribute #1098

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

Merged
merged 1 commit into from
Feb 15, 2017

Conversation

benargo
Copy link
Contributor

@benargo benargo commented Jan 31, 2017

Since the function has a check for ! $value and assigns the MongoDB default of ‘_id’ we should be able to omit the property.

Since the function has a check for `! $value` and assigns the MongoDB default of ‘_id’ we should be able to omit the property.
@jenssegers jenssegers merged commit 92f1089 into mongodb:master Feb 15, 2017
@benargo benargo deleted the id_attribute branch February 15, 2017 17:54
@benargo benargo restored the id_attribute branch February 15, 2017 20:59
@benargo benargo deleted the id_attribute branch October 9, 2017 12:22
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
Since the function has a check for `! $value` and assigns the MongoDB default of ‘_id’ we should be able to omit the property.
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