src/policies/interfaces/policy-filters.interface.ts
Properties |
| limit |
limit:
|
Type : number
|
| Optional |
| order |
order:
|
Type : string
|
| Optional |
| skip |
skip:
|
Type : number
|
| Optional |
| where |
where:
|
Type : FilterQuery<PolicyDocument>
|
| Optional |
import { FilterQuery } from "mongoose";
import { PolicyDocument } from "../schemas/policy.schema";
export interface IPolicyFilter {
where?: FilterQuery<PolicyDocument>;
order?: string;
skip?: number;
limit?: number;
}