@mastra/clickhouse 1.30.0 → 1.30.1-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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/storage/domains/observability/v-next/scores.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -6663,7 +6663,7 @@ async function listScores(client, args, strategy) {
|
|
|
6663
6663
|
const deltaCursorEnabled = deltaPollingSupported(strategy);
|
|
6664
6664
|
const filter = buildScoresFilterConditions(parsed.filters, "s");
|
|
6665
6665
|
const pagination = buildPaginationClause(parsed.pagination);
|
|
6666
|
-
const orderBy = buildSignalOrderByClause(["timestamp", "score"], parsed.orderBy, "s")
|
|
6666
|
+
const orderBy = `${buildSignalOrderByClause(["timestamp", "score"], parsed.orderBy, "s")}, s.scoreId ${parsed.orderBy?.direction === "ASC" ? "ASC" : "DESC"}`;
|
|
6667
6667
|
const whereClause = filter.conditions.length ? `WHERE ${filter.conditions.join(" AND ")}` : "";
|
|
6668
6668
|
if (parsed.mode === "delta") {
|
|
6669
6669
|
assertDeltaPollingSupported(strategy);
|