Page Contents
Home > @loopback/repository > embedsOne
embedsOne() function
Decorator for embedsOne
Signature:
export declare function embedsOne(definition?: Object): PropertyDecorator;
Parameters
Parameter | Type | Description |
---|---|---|
definition | Object |
Returns:
PropertyDecorator
A property decorator