Page Contents

Home > @loopback/repository > ModelType

ModelType class

Model type

Signature:

export declare class ModelType<T extends Model> extends ObjectType<T> 

Constructors

Constructor Modifiers Description
(constructor)(modelClass)   Constructs a new instance of the ModelType class

Properties

Property Modifiers Type Description
modelClass   Class<T>  
name   string  

Methods

Method Modifiers Description
serialize(value)