Ambiguous "id" column on Edit Page
Hello, i have a custom query on resource, my problem on edit page, two table with inner joined,
both table have "id" column, edit page add "WHERE" query on "id" column, this is causing the error.
How to change "WHERE id" to "WHERE users.id" ?
3 Replies
Why are you using a join opposed to a relationship on the model?
If you just create a branches relationship on the users model, you can just called branches.title in the table
Thank you for solution, I think I'm a little confused π, i use relationship on model now
Ahh no problem, glad to hear it! π