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.
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244896837287149658/carbon_1.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244896837564104725/carbon_2.png)
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244896837786406972/image.png)
2 Replies
Try add:
Thank you! @Kaesa Lyrih
But why when I try with a different table (though the contents are the same), it doesn't work? There's an error message like this.
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1244913613031084064/image.png)