delete Expired
fun deleteExpired(expiresAfter: ERROR CLASS: Symbol not found for Instant = Clock.System.now()): ERROR CLASS: Unresolved name: transaction(source)
Purge all rows that have there expired_at field NOT null and less than (<) the date passed in. (Usually Clock.System.now).
For example to have a 24 hour expiry you would insert with expiresAt = Clock.System.now().plus(1.days). When querying you pass in select(expiresAfter = Clock.System.now()) to only get rows that have not expired. If you want to then clean-up/purge those expired rows, you would call this function.