monsqlize 1.1.8 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,6 +61,9 @@ export interface TotalsOptions {
61
61
  * 深度分页(统一版)选项
62
62
  */
63
63
  export interface FindPageOptions extends FindOptions {
64
+ /**
65
+ * 附加聚合管道(在 projection 之前执行,仅对当页数据生效)
66
+ */
64
67
  pipeline?: object[];
65
68
  after?: string;
66
69
  before?: string;
@@ -77,6 +80,8 @@ export interface FindPageOptions extends FindOptions {
77
80
  offsetJump?: OffsetJumpOptions; // 小范围 offset 兜底
78
81
  totals?: TotalsOptions; // 总数/总页数配置
79
82
  meta?: boolean | MetaOptions; // 返回耗时元信息
83
+ // 注:projection 继承自 FindOptions,findPage 自 v1.2.0 起正式支持。
84
+ // 排序字段会被自动保留以确保游标正确生成。
80
85
  }
81
86
 
82
87
  /**