import { Result } from "https://deno.land/x/neo4j_lite_client@4.4.6/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.
Properties
Methods
Signals the stream observer that the future records should be discarded on the server.
Catch errors when using promises.
Should not be combined with Result#subscribe function.
Called when finally the result is done
Should not be combined with Result#subscribe function.
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.