We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ambiguous columns I dont even want that column involved in the searches 'columns' => [ 'students.fname' => 10, 'students.lname' => 10, 'students.mname' => 10, 'students.school_id'=>0, 'transactions.school_id'=>0, ], 'joins' => [ 'students' => ['transactions.student_id','students.id'], ], it gives errors
The text was updated successfully, but these errors were encountered:
The problem is probably on another query of yours, not searchable. E.g if the ambiguous column is school_id:
school_id
$transactions = Transaction::where('school_id', $school_id)->search($search);
You could do as such:
$transactions = Transaction::where('transactions.school_id', $school_id)->search($search);
Sorry, something went wrong.
No branches or pull requests
ambiguous columns
I dont even want that column involved in the searches
'columns' => [
'students.fname' => 10,
'students.lname' => 10,
'students.mname' => 10,
'students.school_id'=>0,
'transactions.school_id'=>0,
],
'joins' => [
'students' => ['transactions.student_id','students.id'],
],
it gives errors
The text was updated successfully, but these errors were encountered: