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 | Type | Description |
---|---|---|
relation | string | |
scope? | Filter<AnyObject> | (Optional) |