Replies: 1 comment
-
Thanks a lot for your suggestion. I've been working on it and now it's available. https://github.com/Power-Components/livewire-powergrid/releases/tag/v4.5.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
⚡ PowerGrid ⚡ Feature Request
Curently:
public function datasource(): Collection
{
return User::table($this->tableName)->get();
}
Summary
Currently having problems to show the table data where there is no model present. Getting all data in a collection does not seem to be a good way of handling large data sets.
Why is this needed?
This is will save memory for laravel application where table data is in millions.
Suggested Solution(s)
public function datasource(): Collection
{
return DB::table($this->tableName);
}
A clear and concise description of what you want to happen.
Related issue(s)/PR(s)
Let us know if this is related to any issue/request
Beta Was this translation helpful? Give feedback.
All reactions