@mastra/upstash 1.5.1-alpha.0 → 1.5.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 +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/vector/filter.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -2174,6 +2174,7 @@ var UpstashFilterTranslator = class extends BaseFilterTranslator {
|
|
|
2174
2174
|
if (op === "$contains") return `${path} NOT CONTAINS ${this.formatValue(val)}`;
|
|
2175
2175
|
if (op === "$regex") return `${path} NOT GLOB ${this.formatValue(val)}`;
|
|
2176
2176
|
if (op === "$in") return `${path} NOT IN (${this.formatArray(val)})`;
|
|
2177
|
+
if (op === "$nin") return `${path} IN (${this.formatArray(val)})`;
|
|
2177
2178
|
if (op === "$exists") return val ? `HAS NOT FIELD ${path}` : `HAS FIELD ${path}`;
|
|
2178
2179
|
if (op === "$and" || op === "$or") {
|
|
2179
2180
|
const newOp = op === "$and" ? "$or" : "$and";
|