Skip to content

Interface: ExecuteTranspiledResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ExecuteTranspiledResponse

Defined in: src/types/ontology-bridge.ts:404

Rows from a live source, with the query that fetched them.

The counterpart of TranspileResponse: transpile emits the native query and stops, executeTranspiled runs it. For a transpile-mode source this is the ONLY route that answers — such a source deliberately ingests nothing, so its bound sorts are live views over the operator’s own database and every KB query over them reports no results.

completeness: "complete"

Defined in: src/types/ontology-bridge.ts:431

Whether rows is the source’s whole answer: always complete (reasoninglayer#1213).

A read that stopped early is never answered with the rows that had arrived. It is a coded refusal (LiveSourceErrorCode), so an empty rows is a source that answered with no rows.


dialect: string

Defined in: src/types/ontology-bridge.ts:419

Dialect of query — postgres, mysql, sqlite, cypher or cql.


query: string

Defined in: src/types/ontology-bridge.ts:417

The query that was executed, in the source’s own language.

Returned with the rows rather than behind a separate call: transpile mode’s claim is that OSFQL becomes a native query against the operator’s database, and this is what makes that claim checkable.


rowCount: number

Defined in: src/types/ontology-bridge.ts:408

Number of rows returned.


rows: Record<string, unknown>[]

Defined in: src/types/ontology-bridge.ts:406

Rows as returned by the source, one object per record.


sourceId: string

Defined in: src/types/ontology-bridge.ts:421

The source the query ran against.