Support the ongoing development of Laravel.io →

derekaug

Joined 14 Jan 2015

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Eloquent belongsToMany() with wherePivot() and has() -> SQL ERROR

I've got these two database schemas, I'll dumb them down for now. Schema::create('matchups', functio...

0 Likes
3 Replies
replied 9 years ago

Eloquent belongsToMany() with wherePivot() and has() -> SQL ERROR

Yep, that column definitely exists in the schema. If I change the query to this and run it via the C...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.