Skip to content
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

Laravel5.5中关联模型报错,getOtherKey(),getPlainForeignKey #21

Open
franktrue opened this issue Aug 10, 2018 · 1 comment
Open

Comments

@franktrue
Copy link

创建关联视图时getOtherKey(),getPlainForeignKey报错
···
Call to undefined method Illuminate\Database\Query\Builder::getOtherKey()

Call to undefined method Illuminate\Database\Query\Builder::getPlainForeignKey()
···

@deyikong
Copy link

deyikong commented Jun 1, 2020

I have a similar problem:
"Method Illuminate\Database\Query\Builder::getForeignKeyName does not exist."

Anyone know the cause?

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

No branches or pull requests

2 participants