skip to Main Content

Want to use Nestjs with other Redis command

I try to implement nestjs backend and redis as caching. I can do it according to the official document https://docs.nestjs.com/techniques/caching#in-memory-cache. I use the package cache-manager-redis-store and the code in app.module.ts is as shown below. import { Module, CacheModule } from…

VIEW QUESTION

Mongodb – Mongoose – find object and delete objeto inside array

I have this document : [ { "_id": "626c5fd2aa0fc0e4eef45c94", "productos": [ { "_id": "626d50b621180e291a330333", "nombre": "ciruelas", "descripcion": "marca lala", "codigo": 33, "foto": "https://cdn3.iconfinder.com/data/icons/fruits-52/150/icon_fruit_morango-256.png", "precio": 15, "stock": 30, "timestamp": "2022-04-30T15:06:45.128Z", "__v": 0 } ], "timestamp": "2022-04-29T21:59:35.301Z", "__v": 0 }, { "_id":…

VIEW QUESTION
Back To Top
Search