#No _id

10 messages · Page 1 of 1 (latest)

oblique narwhal

Hello, is there any option to actually disable the creation of a _id property when creating new data with mongoose? (I've already tried using { _id: false } in the schema options, but it gives me an error)

cold timberBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
oblique narwhal
fathom yoke

Every database entry I’ve ever created requires a ID.

Error speaks for itself

oblique narwhal
oblique narwhal

the option speaks for itself