Module query

Module query 

Source
Expand description

Query module

Re-exports§

pub use conditions::ValueClause;
pub use conditions::WhereClause;
pub use conditions::WhereOperator;
pub use ordering::OrderClause;
pub use vote_polls_by_end_date_query::VotePollsByEndDateDriveQuery;
pub use vote_query::IdentityBasedVoteDriveQuery;

Modules§

conditions
Query Conditions
contested_resource_votes_given_by_identity_query
A query to get the votes given out by an identity
drive_contested_document_query
A query to get contested documents before they have been awarded
filter
Document subscription filtering Document subscription filtering
identity_token_balance_drive_query
A query to get the identity’s token balance
identity_token_info_drive_query
A query to get the identity’s token info
ordering
Query Ordering
proposer_block_count_query
A query to get the block counts of proposers in an epoch
token_status_drive_query
A query to get the token’s status
vote_poll_contestant_votes_query
Vote poll contestant votes query module
vote_poll_vote_state_query
Vote poll vote state query module
vote_polls_by_document_type_query
Vote polls by document type query
vote_polls_by_end_date_query
Vote polls by end date query
vote_query
Vote Query module

Structs§

DriveDocumentQuery
Drive query struct
InternalClauses
Internal clauses struct
PathQuery
Path query
Query
Query represents one or more keys or ranges of keys, which can be used to resolve a proof which will include all the requested values.
QueryResultElements
Query result elements
SingleDocumentDriveQuery
Drive query struct
SizedQuery
Holds a query to apply to a tree and an optional limit/offset value. Limit and offset values affect the size of the result set.
StartAtDocument
Represents a starting point for a query based on a specific document.

Enums§

Element
Variants of GroveDB stored entities
GroveError
GroveDB Errors
QueryItem
A QueryItem represents a key or a range of keys to be included in a proof.
QueryResultType
Query result type
SingleDocumentDriveQueryContestedStatus
The expected contested status of a document Drives stores the document in either the not contested location (most of the time) Or a temporary contested area while the contest is ongoing

Functions§

contract_lookup_fn_for_contract
Creates a ContractLookupFn function that returns provided data contract when requested.

Type Aliases§

ContractLookupFn
Function type for looking up a contract by identifier
QuerySyntaxSimpleValidationResult
A Query Syntax Validation Result
QuerySyntaxValidationResult
A Query Syntax Validation Result that contains data
TransactionArg
TransactionArg