Constructors
constructor
- new Filter<T>(filters, path, filterFn, sortFn, inputPaths, options): Filter<T>
Parameters
- filters: any
- path: any
- filterFn: any
- sortFn: any
- inputPaths: any
- options: any
Properties
bundle
bundle: boolean
filterFn
filterFn: any
filterName
filterName: string
filters
filters: any
from
from: string
fromSegments
fromSegments: string[]
idsSegments
inputPaths
inputPaths: any
inputsSegments
limit
limit: number
model
options
options: any
path
path: string
segments
skip
skip: number
sortFn
sortFn: any
sortName
sortName: string
Methods
callFilter
- callFilter(items, key, inputs): any
Parameters
- items: any
- key: any
- inputs: any
Returns any
destroy
- destroy(): void
Returns void
filter
- filter(fn): this
Returns this
get
- get<S>(): S[]
Returns S[]
getInputs
- getInputs(): any[]
Returns any[]
ids
- ids(): string[]
Returns string[]
ref
- ref(from): RefList
sort
- sort(fn): this
Returns this
update
- update(pass?): void
Returns void