Type alias QueryConfig

QueryConfig: {
    conditions?: Condition;
    fields?: string[];
    includes?: {
        [field: string]: QueryConfig;
    };
    limit?: number;
    offset?: number;
    sort?: Sort;
    table?: string;
}

Type declaration

  • Optional conditions?: Condition
  • Optional fields?: string[]
  • Optional includes?: {
        [field: string]: QueryConfig;
    }
  • Optional limit?: number
  • Optional offset?: number
  • Optional sort?: Sort
  • Optional table?: string