RunResult
RunResult = {
diagnostics:Diagnostics;documents?: readonlyJsonValue[];kind:"rows";rows: readonlyRow[]; } | {diagnostics:Diagnostics;documents?: readonlyJsonValue[];kind:"ok";rows: readonlyRow[];statement:"define"|"write"; } | {diagnostics:Diagnostics;kind:"refused";message:string;reason:RefusalReason; }
Defined in: libs/session/src/session.ts:36
What a statement answered. Returned, never thrown: a session that dies on a typo is unusable.
rows and documents are what a read or a write pipeline answers (documents when it ends in fetch).
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.