Page Contents

Home > @loopback/filter > Inclusion

Inclusion interface

Inclusion of related items

Note: scope means filter on related items

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

Signature:

export interface Inclusion 

Properties

Property Modifiers Type Description
relation   string  
scope?   Filter<AnyObject> & { totalLimit?: number; } (Optional)
targetType?   string (Optional)