@mastra/libsql 1.26.3-alpha.0 → 1.27.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-libsql
3
3
  description: Documentation for @mastra/libsql. Use when working with @mastra/libsql APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/libsql"
6
- version: "1.26.3-alpha.0"
6
+ version: "1.27.0-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.26.3-alpha.0",
2
+ "version": "1.27.0-alpha.1",
3
3
  "package": "@mastra/libsql",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -4353,6 +4353,10 @@ var DatasetsLibSQL = class extends _mastra_core_storage.DatasetsStorage {
4353
4353
  const { page, perPage: perPageInput } = args.pagination;
4354
4354
  const filterConditions = [];
4355
4355
  const filterParams = [];
4356
+ if (args.filters?.datasetIds !== void 0) {
4357
+ filterConditions.push(args.filters.datasetIds.length > 0 ? `id IN (${args.filters.datasetIds.map(() => "?").join(",")})` : "1 = 0");
4358
+ filterParams.push(...args.filters.datasetIds);
4359
+ }
4356
4360
  if (args.filters?.organizationId !== void 0) {
4357
4361
  filterConditions.push("organizationId = ?");
4358
4362
  filterParams.push(args.filters.organizationId);