@dnax/core 0.65.1 → 0.65.2
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.
- package/driver/mongo/rest.ts +3 -1
- package/package.json +1 -1
package/driver/mongo/rest.ts
CHANGED
|
@@ -1190,7 +1190,9 @@ class useRest {
|
|
|
1190
1190
|
},
|
|
1191
1191
|
{
|
|
1192
1192
|
upsert: options?.upsert ?? false,
|
|
1193
|
-
arrayFilters: options?.arrayFilters
|
|
1193
|
+
arrayFilters: options?.arrayFilters
|
|
1194
|
+
? toBson(options?.arrayFilters)
|
|
1195
|
+
: [],
|
|
1194
1196
|
returnDocument: "after",
|
|
1195
1197
|
session: this.#session ? this.#session : undefined,
|
|
1196
1198
|
}
|