Interface: ExecuteTranspiledResponse
@kortexya/reasoninglayer / ExecuteTranspiledResponse
Interface: ExecuteTranspiledResponse
Section titled “Interface: ExecuteTranspiledResponse”Defined in: src/types/ontology-bridge.ts:404
Rows from a live source, with the query that fetched them.
Remarks
Section titled “Remarks”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.
Properties
Section titled “Properties”completeness
Section titled “completeness”completeness:
"complete"
Defined in: src/types/ontology-bridge.ts:431
Whether rows is the source’s whole answer: always complete
(reasoninglayer#1213).
Remarks
Section titled “Remarks”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
Section titled “dialect”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.
Remarks
Section titled “Remarks”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
Section titled “rowCount”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
Section titled “sourceId”sourceId:
string
Defined in: src/types/ontology-bridge.ts:421
The source the query ran against.