Skip to content

Get the Other/Owner Key name based on different version of Illuminate/Database #1116

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 3 commits into from
Feb 15, 2017

Conversation

netcode
Copy link
Contributor

@netcode netcode commented Feb 15, 2017

Recently Taylor changed the names in relations otherKey to ownerKey
see commit commit

@jenssegers
Copy link
Contributor

Any chance you could use getOwnerKey as the function name?

@netcode
Copy link
Contributor Author

netcode commented Feb 15, 2017

Yea , it will be more readable 👍

@jenssegers jenssegers merged commit 1200af4 into mongodb:master Feb 15, 2017
GromNaN added a commit to GromNaN/laravel-mongodb-fork that referenced this pull request Sep 11, 2023
GromNaN added a commit to GromNaN/laravel-mongodb-fork that referenced this pull request Sep 12, 2023
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this pull request Sep 2, 2024
…/Database (mongodb#1116)

* get the Other/Owner Key name based on different version of Illuminate/Database

* get the Other/Owner Key name based on different version of Illuminate/Database (all relations)

* change function name to more readable
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