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

Method constructor

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

Source from the content-addressed store, hash-verified

7618 it('setting path to non-POJO object (gh-7639)', function() {
7619 class Nested {
7620 constructor(prop) {
7621 this.prop = prop;
7622 }
7623 }
7624
7625 const schema = new Schema({ nested: { prop: String } });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected