Skip to content

WriteReport

Defined in: libs/runtime/src/interpreter.ts:600

What execute() reports: its diagnostics, and what its last write pipeline answers.

Properties

Name Description
diagnostics The diagnostics of the run, at most MAX_DIAGNOSTICS.
documents? When the pipeline ends in fetch: a document per answer, and rows is empty.
rows The rows the last write pipeline answers, when it ends in select or similar.

readonly diagnostics: readonly Diagnostic[]

Defined in: libs/runtime/src/diagnostics.ts:42

The diagnostics of the run, at most MAX_DIAGNOSTICS. Each has a stable code, from DiagnosticCode.

ExecutionReport.diagnostics


readonly optional documents?: readonly JsonValue[]

Defined in: libs/runtime/src/interpreter.ts:604

When the pipeline ends in fetch: a document per answer, and rows is empty.


readonly rows: readonly Record<string, TypeDBLiteValue>[]

Defined in: libs/runtime/src/interpreter.ts:602

The rows the last write pipeline answers, when it ends in select or similar.

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.