Runs a document query, the same object a query block stores. It returns the matching documents as a query result, or null.
This page describes the rpc/query method. It is one method of the Seed API, which clients call as request(key, input) -> output. input types what you send and output types what comes back. The output is a read model that the daemon computes for clients, separate from the signed blobs that travel the network. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and run the method from its API console.
See also
Seed API: HTTP transport, input encodings, errors and authentication.
Seed API Schemas: the catalog of methods and the in-app console.
RPC: every method in one union.
QueryBlock: the query plus everything a query block renders.
Query grammar: attribute queries with QueryDocuments.
Document Info: one matched document.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime