@mastra/oracledb 0.2.2-alpha.1 → 0.2.3-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 +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-storage.md +1 -0
- package/dist/docs/references/reference-rag-metadata-filters.md +1 -0
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/observability/index.d.ts.map +1 -1
- package/dist/storage/domains/observability/spans.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-oracledb
|
|
|
3
3
|
description: Documentation for @mastra/oracledb. Use when working with @mastra/oracledb APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/oracledb"
|
|
6
|
-
version: "0.2.
|
|
6
|
+
version: "0.2.3-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -205,6 +205,7 @@ Each provider page includes installation instructions, configuration parameters,
|
|
|
205
205
|
- [libSQL](https://mastra.ai/integrations/databases/libsql)
|
|
206
206
|
- [Mastra](https://mastra.ai/docs/mastra-platform/database)
|
|
207
207
|
- [MongoDB](https://mastra.ai/integrations/databases/mongodb)
|
|
208
|
+
- [MySQL](https://mastra.ai/integrations/databases/mysql)
|
|
208
209
|
- [MSSQL](https://mastra.ai/integrations/databases/mssql)
|
|
209
210
|
- [Neon Postgres](https://mastra.ai/integrations/databases/neon)
|
|
210
211
|
- [OracleDB](https://mastra.ai/integrations/databases/oracledb)
|
|
@@ -176,6 +176,7 @@ const results = await store.query({
|
|
|
176
176
|
- Special handling for null and empty values
|
|
177
177
|
- Vector-specific filtering capabilities
|
|
178
178
|
- Datetime values must be in RFC 3339 format
|
|
179
|
+
- `$regex` is translated to Qdrant's full-text match, which matches whole tokens rather than arbitrary regular expressions or substrings (e.g. `{ name: { $regex: "item" } }` doesn't match `"item1"`). On unindexed payload fields, Qdrant versions before v1.19.1 fall back to substring matching
|
|
179
180
|
|
|
180
181
|
### Upstash
|
|
181
182
|
|
package/dist/index.cjs
CHANGED
|
@@ -6417,6 +6417,14 @@ async function batchDeleteTraces(db, schemaName, args) {
|
|
|
6417
6417
|
type: oracledb.default.STRING,
|
|
6418
6418
|
maxSize: 512
|
|
6419
6419
|
} } });
|
|
6420
|
+
try {
|
|
6421
|
+
await client.executeMany(`DELETE FROM ${qualifyName(_mastra_core_storage.TABLE_SCORERS, schemaName)} WHERE ${scoreCol("traceId")} = :traceId`, args.traceIds.map((traceId) => ({ traceId })), { bindDefs: { traceId: {
|
|
6422
|
+
type: oracledb.default.STRING,
|
|
6423
|
+
maxSize: 512
|
|
6424
|
+
} } });
|
|
6425
|
+
} catch (error) {
|
|
6426
|
+
if (!isOracleErrorCode(error, [-942])) throw error;
|
|
6427
|
+
}
|
|
6420
6428
|
});
|
|
6421
6429
|
} catch (error) {
|
|
6422
6430
|
throw storageError("BATCH_DELETE_TRACES", "FAILED", { count: args.traceIds.length }, error, _mastra_core_error.ErrorCategory.USER);
|
|
@@ -6775,6 +6783,7 @@ var ObservabilityOracle = class ObservabilityOracle extends _mastra_core_storage
|
|
|
6775
6783
|
return batchUpdateSpans(this.db, this.schemaName, args);
|
|
6776
6784
|
}
|
|
6777
6785
|
async batchDeleteTraces(args) {
|
|
6786
|
+
this.assertUnscopedBatchDeleteTraces(args);
|
|
6778
6787
|
return batchDeleteTraces(this.db, this.schemaName, args);
|
|
6779
6788
|
}
|
|
6780
6789
|
async listTraces(args) {
|