@mastra/spanner 1.6.5 → 1.6.6-alpha.0
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
|
@@ -4910,6 +4910,12 @@ var ExperimentsSpanner = class ExperimentsSpanner extends _mastra_core_storage.E
|
|
|
4910
4910
|
conditions.push(`${quoteIdent("status", "column name")} = @status`);
|
|
4911
4911
|
params.status = args.status;
|
|
4912
4912
|
}
|
|
4913
|
+
(args.tags ?? []).forEach((tag, i) => {
|
|
4914
|
+
const param = `tag${i}`;
|
|
4915
|
+
const tagsCol = quoteIdent("tags", "column name");
|
|
4916
|
+
conditions.push(`(${tagsCol} IS NOT NULL AND EXISTS (SELECT 1 FROM UNNEST(JSON_QUERY_ARRAY(${tagsCol})) AS t WHERE JSON_VALUE(t) = @${param}))`);
|
|
4917
|
+
params[param] = tag;
|
|
4918
|
+
});
|
|
4913
4919
|
if (args.filters) {
|
|
4914
4920
|
const { organizationId, projectId } = args.filters;
|
|
4915
4921
|
if (organizationId !== void 0) {
|