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

Method constructor

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

Source from the content-addressed store, hash-verified

7157 it('setting path to non-POJO object (gh-7639)', function() {
7158 class Nested {
7159 constructor(prop) {
7160 this.prop = prop;
7161 }
7162 }
7163
7164 const schema = new Schema({ nested: { prop: String } });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected