hyperledger / hyperledger/fabric

As a chaincode client, I would like to page through chaincode private data query results

Open
#4,197 7 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
16.7k
Forks
9.1k
Avg merge
5h 38m
Merged PRs (30d)
26

Description

### Current Status

Public data queries can be paginated with bookmark and pagesize using these chaincode APIs:
GetStateByRangeWithPagination()
GetQueryResultWithPagination()
GetStateByPartialCompositeKeyWithPagination()

Similar chaincode APIs are not yet available for private data collections.

### Expected

Chaincode client can pass pagesize and bookmark parameters to private data range, composite key, and rich query shim APIs in order to drive pagination.

### Solution

Add corresponding chaincode APIs for private data.

### Please let us know if you plan to work on this.

No.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.