goosetyped.getschemaof
Home > @pebula/goosetyped > getSchemaOf
#
getSchemaOf() functionReturns the mongoose schema for the provided Model / Resource
Signature:#
ParametersParameter | Type | Description |
---|---|---|
modelClass | Ctor<T> |
Schema | undefined
Home > @pebula/goosetyped > getSchemaOf
Returns the mongoose schema for the provided Model / Resource
Signature:Parameter | Type | Description |
---|---|---|
modelClass | Ctor<T> |
Schema | undefined