F
Filament3mo ago
Hima

Use Array in Table Builder

i had atttatched my code in attachement i want to pass array as in table builder no query then how to do that? please help.
5 Replies
Matthew
Matthew3mo ago
Using a database view, and creating a model works nicely. Otherwise: https://usesushi.dev/
Sushi 🍣
Eloquent’s missing “array” driver.
Sometimes you just want to use Eloquent without a database.
Hima
HimaOP3mo ago
Using a database view, and creating a model works nicely. - How to do this?
Povilas K
Povilas K3mo ago
Also, googled a few github discussions pointing that this feature of array in table will be properly available in Filament 4 https://github.com/filamentphp/filament/discussions/12920
GitHub
Table without a model? · filamentphp filament · Discussion #12920
Package Table builder Package Version v3.2.62 How can we help you? I'm looking to make a simple page with a table that displays some data. Something like this: protected array $arrayData = [ [&...
Matthew
Matthew3mo ago
Back end, databasey stuff. The sort of things that inexplicably frighten php & larvel people on my team ! You can't use traditional migrate features. But if you can learn how to create database views and procedures, you can off load a lot of processing to the back end, then you these views act like read only tables. Its MySQL code, not PHP, so you'll have to look into that.
Want results from more Discord servers?
Add your server