Skip to content

Commit

Permalink
[FAB-2125] Finalize v1 chaincode API names
Browse files Browse the repository at this point in the history
Motivation - make it clear that RangeQueryState() and
PartialCompositeKeyQuery() are getters similar to
GetState() and GetQueryResult().

Since we will have to live with the API names forever
as of v1, better to make them very expressive.

Changes:
RangeQueryState() ==> GetStateByRange()
PartialCompositeKeyQuery() ==> GetStateByPartialCompositeKey()
ExecuteQueryState ==> GetQueryResult (already partially done)

Change-Id: I555f2ee3b81f86307bdb5482ce9850ec93216857
Signed-off-by: denyeart <enyeart@us.ibm.com>
  • Loading branch information
denyeart committed Feb 13, 2017
1 parent d64dee9 commit c0ce696
Show file tree
Hide file tree
Showing 19 changed files with 338 additions and 338 deletions.
108 changes: 54 additions & 54 deletions bddtests/chaincode_pb2.py

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions bddtests/peer/chaincode_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c0ce696

Please sign in to comment.