Expand description
Low level GroveDB operations Grove Operations.
Defines and implements in Drive functions pertinent to groveDB operations.
Modules§
- batch_
delete - Batch delete operation
- batch_
delete_ items_ in_ path_ query - Provides functionality to delete items in a path based on a query.
- batch_
delete_ up_ tree_ while_ empty - Batch delete operation up the tree while it’s empty
- batch_
insert - Batch insert operation
- batch_
insert_ empty_ sum_ tree - Batch insert operation into empty sum tree
- batch_
insert_ empty_ tree - Batch insert operation into empty tree
- batch_
insert_ empty_ tree_ if_ not_ exists - Batch insert operation into empty tree, but only if it doesn’t already exist
- batch_
insert_ empty_ tree_ if_ not_ exists_ check_ existing_ operations - Batch insert operation into empty tree, but only if it doesn’t exist and check existing operations
- batch_
insert_ if_ changed_ value - Batch insert operation, but only if the value has changed
- batch_
insert_ if_ not_ exists - Batch insert operation, but only if it doesn’t already exist
- batch_
insert_ if_ not_ exists_ return_ existing_ element - Inserts an element if it does not exist and returns the existing element if it does.
- batch_
insert_ item_ with_ sum_ item_ if_ not_ exists - Batch inserts item with sum item if not already existing
- batch_
insert_ sum_ item_ if_ not_ exists - Batch inserts sum item if not already existing
- batch_
insert_ sum_ item_ or_ add_ to_ if_ already_ exists - Inserts a sum item or adds to it if it already exists.
- batch_
keep_ item_ insert_ sum_ item_ or_ add_ to_ if_ already_ exists - Keeps the item, but inserts or adds to the sum item if it already exists
- batch_
move_ items_ in_ path_ query - Moved items that are found in a path query to a new path.
- batch_
refresh_ reference - Batch refresh reference operation
- batch_
remove_ raw - Batch remove raw data operation
- batch_
replace - Batch replace operation
- grove_
apply_ batch - Apply batch grove operation
- grove_
apply_ batch_ with_ add_ costs - Apply batch grove operation with additional costs
- grove_
apply_ operation - Apply grove operation
- grove_
apply_ partial_ batch - Apply partial batch grove operation
- grove_
apply_ partial_ batch_ with_ add_ costs - Apply partial batch grove operation with additional costs
- grove_
batch_ operations_ costs - Get cost of grove batch operations
- grove_
clear - Clear a subtree in grovedb
- grove_
commitment_ tree_ count - Get total count from a CommitmentTree
- grove_
delete - Grove delete operation
- grove_
get - Grove get operation
- grove_
get_ big_ sum_ tree_ total_ value - Get the total value from a big sum tree
- grove_
get_ optional_ sum_ tree_ total_ value - Get total value from sum tree in grove if it exists
- grove_
get_ path_ query - Grove path query operation
- grove_
get_ path_ query_ serialized_ results - Serialized results from grove path query
- grove_
get_ path_ query_ with_ optional - Grove path query operation with optional return value
- grove_
get_ proved_ branch_ chunk_ query - Proved branch chunk query in grove Proved branch chunk query in grove.
- grove_
get_ proved_ path_ query - Proved path query in grove
- grove_
get_ proved_ path_ query_ v1 - V1 proved path query in grove (supports BulkAppendTree/CommitmentTree)
- grove_
get_ proved_ path_ query_ with_ conditional - Executes a proved path query in GroveDB with an optional conditional query.
- grove_
get_ proved_ trunk_ chunk_ query - Proved trunk chunk query in grove Proved trunk chunk query in grove.
- grove_
get_ raw - Fetch raw grove data
- grove_
get_ raw_ item - Fetch raw grove data and match that is item
- grove_
get_ raw_ optional - Fetch raw grove data if it exists
- grove_
get_ raw_ optional_ item - Fetch raw grove data if it exists, None otherwise
- grove_
get_ raw_ path_ query - Fetch raw data from grove path query
- grove_
get_ raw_ path_ query_ with_ optional - Fetch raw data from grove path query with optional return value
- grove_
get_ raw_ value_ u64_ from_ encoded_ var_ vec - Fetch u64 value from encoded variable vector in raw grove data
- grove_
get_ sum_ tree_ total_ value - Get total value from sum tree in grove
- grove_
has_ raw - Check if raw data exists in grove
- grove_
insert - Grove insert operation
- grove_
insert_ empty_ tree - Grove insert operation into an empty tree
- grove_
insert_ if_ not_ exists - Grove insert operation, but only if it doesn’t already exist
- grove_
insert_ if_ not_ exists_ return_ existing_ element - Inserts an element if it does not exist and returns the existing element if it does in GroveDB.
Enums§
- Batch
Delete Apply Type - Batch delete apply type
- Batch
Delete UpTree Apply Type - Batch delete up tree apply type
- Batch
Insert Apply Type - Batch insert apply type
- Batch
Insert Tree Apply Type - batch insert tree apply type Batch insert tree apply type
- Batch
Move Apply Type - Batch move apply type
- Direct
Query Type - direct query type Direct query type
- GroveDB
ToUse - Specifies which GroveDB instance to use for a query
- Query
Target - query target Query target
- Query
Type - Query type
Type Aliases§
- Flags
Len - Flags length
- IsSub
Tree - Is subtree?
- IsSum
SubTree - Is sum subtree?
- IsSum
Tree - Is sum tree?