Can’t you use the Eloquent query in gridphp to query Laravel? For security reasons, query instead of using normal Mysql queries
Gert
1 Answers
Hello,
If you wish you use eloquent, you can use callback event, with ignoring the datagrid implementation and use the laravel database functions inside it to add/edit/delete.
More reference here: https://www.gridphp.com/docs/grid-events/
To select data, we do several modifications in query to adjust page, search and sort operations so It’s not doable with eloquent.
Your Answer