WriteReport
Defined in: libs/runtime/src/interpreter.ts:600
What execute() reports: its diagnostics, and what its last write pipeline answers.
Extends
Section titled “Extends”Member summary
Section titled “Member summary”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. |
Properties
Section titled “Properties”diagnostics
Section titled “diagnostics”
readonlydiagnostics: readonlyDiagnostic[]
Defined in: libs/runtime/src/diagnostics.ts:42
The diagnostics of the run, at most MAX_DIAGNOSTICS. Each has a stable code, from DiagnosticCode.
Inherited from
Section titled “Inherited from”documents?
Section titled “documents?”
readonlyoptionaldocuments?: readonlyJsonValue[]
Defined in: libs/runtime/src/interpreter.ts:604
When the pipeline ends in fetch: a document per answer, and rows is empty.
readonlyrows: readonlyRecord<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.