I'd like to know if mysql(or mariadb) offers a function for the expiration that a row can be removed automatically in the DB without using any extra scheduler program nor using any SQL like DELETE
.
This should happen or define when you create a table so that once INSERT
occurs it starts to manage it.
There are many related questions here:
MySQL how to make value expire?
Remove Mysql row after specified time
However, I couldn't find the answer. I am not curious about using WHERE
nor DELETE
.
Is it even possible?