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
Hi! Thanks for your work. I am trying to use json column with Laravel but I encountered some small issue with the json column relationships.
I have this set of data, notice the name is inside the json datatype column
User.php
public function country() { return $this->belongsTo(Country::class); }
Index.vue
const params = { params: { dt_params: JSON.stringify(lazyParams.value), searchable_columns: JSON.stringify(['name', 'email', 'country.data.name']), } }
Unfortunately, it return this error when I load the datatable
Call to undefined relationship [data] on model [App\\Models\\Country].
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! Thanks for your work. I am trying to use json column with Laravel but I encountered some small issue with the json column relationships.
I have this set of data, notice the name is inside the json datatype column
User.php
Index.vue
Unfortunately, it return this error when I load the datatable
Thanks.
The text was updated successfully, but these errors were encountered: