So you want to display data from this model to six cards, but how..i mean each row can be said as "one data" so you want to display 6 rows of this table basically on 6 rows. Another question is how you want to filter the data, first 6 rows according to date, etc. ?
if you want to display first 6 responses of .all(), you can easily do it using " [ 0 : 6 ] "
On Tuesday, 3 March 2020 15:31:10 UTC+5:30, Perceval Maturure wrote:
Hi Naveena
I have a model below

I I want to display records in the db on six cards as the end date is past then the record is removed from the list. I tried to use indexes but it dint work as epxected
Any ideas would be awesome to share