Class: Query

Query

This class represents a Query definition. This class allows an application to contain all proposal attributes and artifacts in one place during a query.

new Query(chaincodeId, channel)

Construct a Proposal object.
Parameters:
Name Type Description
chaincodeId string The chaincode this proposal will execute
channel Channel The channel of this proposal
Returns:
The Proposal instance.
Type
Proposal

Methods


toString()

return a printable representation of this object