The basic functionality of the EXPIRE handler is to fetch the expired items and then run a DELETE action with their ids. This might be the only way with some services, but we should also support sending a DELETE action directly, with some params that will be used in a filter.
As an example, MongoDb will be able to use the same params as we use for GET, to delete without fetching first.
The basic functionality of the
EXPIRE
handler is to fetch the expired items and then run aDELETE
action with their ids. This might be the only way with some services, but we should also support sending aDELETE
action directly, with some params that will be used in a filter.As an example, MongoDb will be able to use the same params as we use for
GET
, to delete without fetching first.