I didn't understand wich is the application of composite key? what is useful for?
May you help me to understand please
Thank you so much!
Hello The purpose for the composite key is seen through the query on both LevelDB and CouchDB.. Both LevelDB and CouchDB supports core chaincode operations such as querying based on keys. You can set query with multiple search parameters. For example a composite key of owner,asset_id can be used to query all assets owned by a certain entity. These key-based queries can be used for read-only queries against the ledger, as well as in transactions that update the ledger. For more information please read:https://hyperledger-fabric.readthedocs.io/en/latest/couchdb_as_state_database.html?highlight=composite key
Keep Learning, Bobbi
Thank you so much Bobbi