@mastra/mongodb 1.23.2-alpha.0 → 1.24.0-alpha.1

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.
@@ -3,7 +3,7 @@ name: mastra-mongodb
3
3
  description: Documentation for @mastra/mongodb. Use when working with @mastra/mongodb APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mongodb"
6
- version: "1.23.2-alpha.0"
6
+ version: "1.24.0-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.23.2-alpha.0",
2
+ "version": "1.24.0-alpha.1",
3
3
  "package": "@mastra/mongodb",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -10,7 +10,7 @@ let _mastra_core_agent = require("@mastra/core/agent");
10
10
  let _mastra_core_evals = require("@mastra/core/evals");
11
11
  let _mastra_core_storage_domains_skills = require("@mastra/core/storage/domains/skills");
12
12
  //#region package.json
13
- var version = "1.23.2-alpha.0";
13
+ var version = "1.24.0-alpha.1";
14
14
  //#endregion
15
15
  //#region src/vector/filter.ts
16
16
  /**
@@ -3211,6 +3211,7 @@ var MongoDBDatasetsStorage = class extends _mastra_core_storage.DatasetsStorage
3211
3211
  const { page, perPage: perPageInput } = args.pagination;
3212
3212
  const collection = await this.getCollection(_mastra_core_storage.TABLE_DATASETS);
3213
3213
  const filter = {};
3214
+ if (args.filters?.datasetIds !== void 0) filter.id = { $in: args.filters.datasetIds };
3214
3215
  if (args.filters?.organizationId !== void 0) filter.organizationId = args.filters.organizationId;
3215
3216
  if (args.filters?.projectId !== void 0) filter.projectId = args.filters.projectId;
3216
3217
  if (args.filters?.candidateKey !== void 0) filter.candidateKey = args.filters.candidateKey;