Page Contents

Home > @loopback/repository > Inclusion

Inclusion interface

Inclusion of related items

Note: scope means filter on related items

Example: {relation: 'aRelationName', scope: {<AFilterObject>}}

Signature:

export interface Inclusion<MT extends object = AnyObject> 

Properties

Property Type Description
relation string  
scope Filter<MT>