Closed
Description
In some cases, we need to identifying our entities by reference other than their ids.
Like in an e-shop with the upc reference.
For us, its concerns 3/4 of our requests. Its make the datasource mongodb package a bit useless.
The idea is to add 3 api's :
- findOneBy(value, options = {field, ttl})
- findManyBy(value, options = {field, ttl})
- deleteFromCacheBy(value, options = {field})
What do you think about it ?