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

Method getEmbeddedSchemaType

lib/schema/map.js:114–116  ·  view source on GitHub ↗

* Returns the embedded schema type (i.e. the `.$*` path) * * @api public

()

Source from the content-addressed store, hash-verified

112 */
113
114 getEmbeddedSchemaType() {
115 return this.$__schemaType;
116 }
117
118 /**
119 * Returns this schema type's representation in a JSON schema.

Callers 7

toJSONSchemaMethod · 0.95
findChildModelFunction · 0.80
array.jsFile · 0.80
schematype.test.jsFile · 0.80
gh8389Function · 0.80
gh8389Function · 0.80

Calls

no outgoing calls

Tested by 2

gh8389Function · 0.64
gh8389Function · 0.64