@mongez/mongodb
Advanced tools
Comparing version 1.0.56 to 1.0.57
import { Pipeline } from "./pipeline"; | ||
export type UnwindOptions = { | ||
preserveNullAndEmptyArrays?: boolean; | ||
includeArrayIndex?: string | null; | ||
includeArrayIndex?: string; | ||
}; | ||
@@ -6,0 +6,0 @@ export declare class UnwindPipeline extends Pipeline { |
@@ -13,3 +13,3 @@ "use strict"; | ||
this.column = column; | ||
const { preserveNullAndEmptyArrays = false, includeArrayIndex = null } = | ||
const { preserveNullAndEmptyArrays = false, includeArrayIndex = "" } = | ||
options; | ||
@@ -16,0 +16,0 @@ this.data({ |
import { Pipeline } from "./pipeline"; | ||
export type UnwindOptions = { | ||
preserveNullAndEmptyArrays?: boolean; | ||
includeArrayIndex?: string | null; | ||
includeArrayIndex?: string; | ||
}; | ||
@@ -6,0 +6,0 @@ export declare class UnwindPipeline extends Pipeline { |
@@ -11,3 +11,3 @@ import { $agg } from "./expressions.js"; | ||
this.column = column; | ||
const { preserveNullAndEmptyArrays = false, includeArrayIndex = null } = | ||
const { preserveNullAndEmptyArrays = false, includeArrayIndex = "" } = | ||
options; | ||
@@ -14,0 +14,0 @@ this.data({ |
{ | ||
"name": "@mongez/mongodb", | ||
"version": "1.0.56", | ||
"version": "1.0.57", | ||
"description": "Powerful Mongodb Database Manager for Node Js", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
377381