@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.
package/dist/index.js CHANGED
@@ -4352,6 +4352,10 @@ var DatasetsLibSQL = class extends DatasetsStorage {
4352
4352
  const { page, perPage: perPageInput } = args.pagination;
4353
4353
  const filterConditions = [];
4354
4354
  const filterParams = [];
4355
+ if (args.filters?.datasetIds !== void 0) {
4356
+ filterConditions.push(args.filters.datasetIds.length > 0 ? `id IN (${args.filters.datasetIds.map(() => "?").join(",")})` : "1 = 0");
4357
+ filterParams.push(...args.filters.datasetIds);
4358
+ }
4355
4359
  if (args.filters?.organizationId !== void 0) {
4356
4360
  filterConditions.push("organizationId = ?");
4357
4361
  filterParams.push(args.filters.organizationId);