@mastra/mysql 0.8.6 → 0.8.7
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
|
@@ -3739,6 +3739,10 @@ var ExperimentsMySQL = class ExperimentsMySQL extends ExperimentsStorage {
|
|
|
3739
3739
|
conditions.push(`${quoteIdentifier("status", "column name")} = ?`);
|
|
3740
3740
|
params.push(args.status);
|
|
3741
3741
|
}
|
|
3742
|
+
for (const tag of args.tags ?? []) {
|
|
3743
|
+
conditions.push(`JSON_CONTAINS(${quoteIdentifier("tags", "column name")}, ?, '$')`);
|
|
3744
|
+
params.push(JSON.stringify(tag));
|
|
3745
|
+
}
|
|
3742
3746
|
if (args.filters) {
|
|
3743
3747
|
const { organizationId, projectId } = args.filters;
|
|
3744
3748
|
if (organizationId !== void 0) {
|