Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Automattic/mongoose
/ Subdocument
Function
Subdocument
test/types.documentarray.test.js:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
20
function
TestDoc(schema) {
21
var
Subdocument =
function
() {
22
EmbeddedDocument.call(this, {},
new
DocumentArray);
23
};
24
25
/**
26
* Inherits from EmbeddedDocument.
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected