-
(node:3588) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
How could t…
ghost updated
6 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 ?
`
…
Pitbi updated
3 years ago
-
I like that you made a sort of "master" file to control the models.
But please take a step back and make sure that the models are defined as each file has the name of the collection, so the User sche…
-
(node:13960) DeprecationWarning: `open()` is deprecated in mongoose >= 4.11.0, use `openUri()` instead, or set the `useMongoClient` option if using `connect()` or `createConnection()`. See http://mong…
-
Hey,
When updating a resource from admin panel, schema pre-hooks doesn't run.
However, when creating it, it runs perfectly.
This is the message at terminal in my express application,
(node:502…
-
There is some deprecation with the MongoDB Driver. I fixed all warning with the Mongoose documentation 👇 but create this issue to remember for further version of Mongoose or MongoDB driver
There i…
-
よく覚えていないので、もう一回やってみる。
-
@ggsbv Change your application be able to store towns in the database. Each town should have a name field. When adding a new registration number link the registration number to the appropriate town fr…
-
Getting error - `error TS4118: The type of this node cannot be serialized because its property '[hasInstance]' cannot be serialized.` when using TypeScript.
Example model:
```
import mongoose, {…
-
When running the code as you specified, the connection to Mongo seems to fail (no connectivity) and the console log says:
> (node:9694) DeprecationWarning: Mongoose: mpromise (mongoose's default pr…