Open Pitbi opened 3 years ago
Hello,
It is possible to do lean query with moleculer-db-adapter-mongoose? https://mongoosejs.com/docs/api.html#query_Query-lean
Does find method have an interest in not using lean ? find(filters) { return this.createCursor(filters).exec(); }
find(filters) { return this.createCursor(filters).exec(); }
Thx.
use this.adapter.model to directly access mongoose model
this.adapter.model
Hello,
It is possible to do lean query with moleculer-db-adapter-mongoose? https://mongoosejs.com/docs/api.html#query_Query-lean
Does find method have an interest in not using lean ?
find(filters) { return this.createCursor(filters).exec(); }
Thx.