You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the class is pretty straight forward:
A. include the class and interface in your project under some folder (say 'VueTables')
B. namespace them accordingly.
C. Declare a route whose url you will pass to the url property on v-server-table
D. in the controller handling the request instantiate the class and call the get method on it. E.g:
$model = new Post;
$columns = ['id','title', 'body', 'author'];
return (new EloquentVueTables())->get($model, $columns);
The class will extract the request data and run the appropriate query on the model.
Hello is it possible to have a Eloquent implementation demo available?
Tks
The text was updated successfully, but these errors were encountered: