I'm employing mysql with django one.three and I have posts saved within a database. The posts are saved for the selected period of time,
Pandora Charm, say 7 days. How can I delete a post once the duration(seven days) is up? I'm not asking the way to delete,
Pandora Kette title, but more how to determine when to delete?
I never know if this can be an excellent means of performing issues, but a single way I'm contemplating performing this can be once the person seems to be up a submit(query sent) and the duration is up,
Pandora Australia, the submit is deleted. Also,
Tiffany Diamond, when I do a investigation or browse and a record of posts if pulled from your database,
Tiffany Outlet, I'll undergo the listing and delete the posts about some time reduce. What concerns me about this implementation is when I pull a checklist,
Pandora Bracelets, say 10 posts, and nine are above the time restrict,
Pandora Earrings, I'd must get one more listing,
Tiffany Bracelet, and if you will find posts over the reduce in that listing, I would should get more .... etc. So a single query could lead to a lot of queries and ultimately be quite inefficient. So is there a better way to do that?
Or perhaps a complete greater means of implementing this?
So basically, how can I apply a method to ensure a consumer won't ever see a article that's past its duration?
Not confident if I worded every thing correctly,
Tiffany Uk, I'm genuinely confused on how to do this effectively.