MCPcopy Create free account
hub / github.com/Automattic/mongoose / constructor

Method constructor

test/document.test.js:7593–7595  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

7591 it('setting path to non-POJO object (gh-7639)', function() {
7592 class Nested {
7593 constructor(prop) {
7594 this.prop = prop;
7595 }
7596 }
7597
7598 const schema = new Schema({ nested: { prop: String } });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected