@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/docs/SKILL.md
CHANGED
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);
|