FilamentF
Filament2y ago
arif

Displaying data without an ID or primary key

I want to display data from a table, but if I use Filemant, how can I do it? I don't have an ID column or a primary key column. However, I have an NIK column which has a string data type.

If I create the model like this, then the data displayed by the table shows all the NIK values initially as strings, but they change to the number 0 if I make NIK the primary key.
carbon_1.png
carbon_2.png
image.png
Was this page helpful?