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

Method constructor

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

Source from the content-addressed store, hash-verified

7802 it('setting path to non-POJO object (gh-7639)', function() {
7803 class Nested {
7804 constructor(prop) {
7805 this.prop = prop;
7806 }
7807 }
7808
7809 const schema = new Schema({ nested: { prop: String } });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected