In my game i have some sort of market where you can buy products by other players. The products are stored in a database object and loaded using different indexes, like load by price, by amount...
But how do i load it in pages?
Something like loading the first 20 database objects on page one in my game
then when i am on page 2 i load the 20 next database objects
Instead of loading all of them at once?
And also could you add an expire date for databaseobjects, so if I have a product, i can make it get deleted after 30 days. Unless the user owning the product renews it, which should move the expiration date