Skip to content

Interface: ExecuteTranspiledResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ExecuteTranspiledResponse

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

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.

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.

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: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: string

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

The source the query ran against.