import { Result } from "https://deno.land/x/neo4j_driver_lite@5.14.0-alpha01/mod.ts";
A stream of Record representing the result of a query. Can be consumed eagerly as Promise resolved with array of records and ResultSummary summary, or rejected with error that contains string code and string message. Alternatively can be consumed lazily using Result#subscribe function.
Type Parameters
Properties
Methods
Signals the stream observer that the future records should be discarded on the server.
Decorates the ResultObserver with the necessary methods.
Stream records to observer as they come in, this is a more efficient method of handling the results, and allows you to handle arbitrarily large results.
Catch errors when using promises.
Should not be combined with Result#subscribe function.
Check if this result is active, i.e., neither a summary nor an error has been received by the result.
Returns a promise for the field keys.
Should not be combined with Result#subscribe function.
Stream records to observer as they come in, this is a more efficient method of handling the results, and allows you to handle arbitrarily large results.
Returns a promise for the result summary.
Should not be combined with Result#subscribe function.
Waits for all results and calls the passed in function with the results.
Should not be combined with Result#subscribe function.
Provides a async iterator over the records in the result.
Should not be combined with Result#subscribe or $Result#then functions.