@mastra/duckdb 1.13.0 → 1.14.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 +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-storage-retention.md +21 -18
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{observability-x50aDnBm.js → observability-Bub8vOtT.js} +8 -1
- package/dist/observability-Bub8vOtT.js.map +1 -0
- package/dist/{observability-DBm19qBS.cjs → observability-DJafBDSz.cjs} +8 -1
- package/dist/observability-DJafBDSz.cjs.map +1 -0
- package/dist/storage/domains/observability/trace-query.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/observability-DBm19qBS.cjs.map +0 -1
- package/dist/observability-x50aDnBm.js.map +0 -1
|
@@ -3034,6 +3034,13 @@ function compileScalarPredicate(predicate, registry, allowMetadata = false) {
|
|
|
3034
3034
|
]
|
|
3035
3035
|
};
|
|
3036
3036
|
}
|
|
3037
|
+
if (predicate.type === "text") {
|
|
3038
|
+
const found = `contains(${`' ' || replace(lower(regexp_replace(nfc_normalize(${field.sql}), '[^\\p{L}\\p{M}\\p{N}]+', ' ', 'g')), 'ς', 'σ') || ' '`}, ?)`;
|
|
3039
|
+
return {
|
|
3040
|
+
sql: `coalesce(${predicate.operator === "matches" ? found : `NOT ${found}`}, false)`,
|
|
3041
|
+
values: [...fieldValues, ` ${predicate.value} `]
|
|
3042
|
+
};
|
|
3043
|
+
}
|
|
3037
3044
|
if (predicate.type === "membership") {
|
|
3038
3045
|
const list = predicate.values.map(() => parameterSql(field.parameterType)).join(", ");
|
|
3039
3046
|
if (predicate.operator === "in") return {
|
|
@@ -5724,4 +5731,4 @@ var ObservabilityStorageDuckDB = class ObservabilityStorageDuckDB extends _mastr
|
|
|
5724
5731
|
//#endregion
|
|
5725
5732
|
exports.ObservabilityStorageDuckDB = ObservabilityStorageDuckDB;
|
|
5726
5733
|
|
|
5727
|
-
//# sourceMappingURL=observability-
|
|
5734
|
+
//# sourceMappingURL=observability-DJafBDSz.cjs.map
|