Explorar o código

pageOptions中加上排序参数

lrf hai 5 meses
pai
achega
7325f1076e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/frame/Options.ts

+ 1 - 0
src/frame/Options.ts

@@ -5,6 +5,7 @@ import { get } from "lodash";
 export interface PageOptions {
   skip?: number;
   limit?: number;
+  sort?: object;
   [propName: string]: any;
 }
 /**对查询结果处理参数 */