@mastra/mysql 0.13.3-alpha.0 → 0.14.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
|
@@ -2340,6 +2340,10 @@ var DatasetsMySQL = class DatasetsMySQL extends _mastra_core_storage.DatasetsSto
|
|
|
2340
2340
|
const { page, perPage: perPageInput } = args.pagination;
|
|
2341
2341
|
const filterParts = [];
|
|
2342
2342
|
const filterArgs = [];
|
|
2343
|
+
if (args.filters?.datasetIds !== void 0) {
|
|
2344
|
+
filterParts.push(args.filters.datasetIds.length > 0 ? `\`id\` IN (${args.filters.datasetIds.map(() => "?").join(",")})` : "1 = 0");
|
|
2345
|
+
filterArgs.push(...args.filters.datasetIds);
|
|
2346
|
+
}
|
|
2343
2347
|
if (args.filters?.organizationId !== void 0) {
|
|
2344
2348
|
filterParts.push(`${quoteIdentifier("organizationId", "column name")} = ?`);
|
|
2345
2349
|
filterArgs.push(args.filters.organizationId);
|