What does Mongoose#model parameter skipInit actually do?

130 views
Skip to first unread message

Nigel Horton

unread,
Jul 28, 2016, 5:24:18 AM7/28/16
to Mongoose Node.JS ODM
The documentation does not explain this at all, what is the purpose of skipping Initialization, what are the use cases and why does it default to false?

Mongoose#model(name, [schema], [collection], [skipInit])

  • [skipInit] <Boolean> whether to skip initialization (defaults to false)


Nigel Horton

unread,
Oct 13, 2016, 7:55:46 AM10/13/16
to Mongoose Node.JS ODM
Almost 4 months later and not a single response, wow...
Reply all
Reply to author
Forward
0 new messages