The Class to build a Schema from
Optional
options: IModelOptionsOverwrite Options, like for naming or general SchemaOptions the class gets compiled with
Optional
Returns the Build Schema
class ClassName {}
const NameSchema = buildSchema(ClassName);
const NameModel = mongoose.model("Name", NameSchema);
Generated using TypeDoc
Generates a Mongoose schema out of class props, iterating through all parents