Interface: ExecuteTranspiledResponse
@kortexya/reasoninglayer / ExecuteTranspiledResponse
Interface: ExecuteTranspiledResponse
Section titled “Interface: ExecuteTranspiledResponse”Defined in: src/types/ontology-bridge.ts:326
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”dialect
Section titled “dialect”dialect:
string
Defined in: src/types/ontology-bridge.ts:341
Dialect of query — postgres, mysql, sqlite, cypher or cql.
query:
string
Defined in: src/types/ontology-bridge.ts:339
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:330
Number of rows returned.
rows:
Record<string,unknown>[]
Defined in: src/types/ontology-bridge.ts:328
Rows as returned by the source, one object per record.
sourceId
Section titled “sourceId”sourceId:
string
Defined in: src/types/ontology-bridge.ts:343
The source the query ran against.