@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.
@@ -3,7 +3,7 @@ name: mastra-mysql
3
3
  description: Documentation for @mastra/mysql. Use when working with @mastra/mysql APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mysql"
6
- version: "0.8.6"
6
+ version: "0.8.7"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.6",
2
+ "version": "0.8.7",
3
3
  "package": "@mastra/mysql",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -3740,6 +3740,10 @@ var ExperimentsMySQL = class ExperimentsMySQL extends _mastra_core_storage.Exper
3740
3740
  conditions.push(`${quoteIdentifier("status", "column name")} = ?`);
3741
3741
  params.push(args.status);
3742
3742
  }
3743
+ for (const tag of args.tags ?? []) {
3744
+ conditions.push(`JSON_CONTAINS(${quoteIdentifier("tags", "column name")}, ?, '$')`);
3745
+ params.push(JSON.stringify(tag));
3746
+ }
3743
3747
  if (args.filters) {
3744
3748
  const { organizationId, projectId } = args.filters;
3745
3749
  if (organizationId !== void 0) {