forked from hyperledger/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace Metadata in query with pageSize and bookmark (hyperledger#1024)
The range query receives metadata such as pagination limit. The execute query at couchdb receives metadata such as the pagination bookmark and pagination limit. ValidateRangeMetadata() and ValidateQueryMetadata() validate the received metadata. However, the term metadata is confusing with the statemetadata which stores the key-based endorsement. Hence, we replace Metadata in range and execute query API with Pagination. As we have removed the metadata map, we also removed ValidateRangeMetadata() and ValidateQueryMetadata() as they are not needed anymore. Signed-off-by: senthil <cendhu@gmail.com>
- Loading branch information
Showing
24 changed files
with
903 additions
and
1,133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.