Replies: 1 comment 1 reply
-
We don't have any event hooks for this yet afaik. I like this idea of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I can't find any solution to solve some problems.
I have some method that retrieves from database different permissions.
Using datatable method addColumn i'm checking about abilities of execution!
my method checkIfCan is executed for N times, and each time it executes "select .... where id = $id" query. 100 times per 100 rows
I want to retrieve all permissions using "select .... where id in (1,2...,N)" before datatable json content is generated and after it executes the query.
Is there any ability to intercept all rows before building json? (like with laravel chunk method, which passes all rows into closure)
Beta Was this translation helpful? Give feedback.
All reactions