Page Contents

Home > @loopback/repository > Model > toObject

Model.toObject() method

Convert to a plain object as DTO

Signature:

toObject(options?: Options): Object;

Parameters

Parameter Type Description
options Options  

Returns:

Object