[英]What are relationships in hyperledger composer?
您能否解释由“箭头->”定义的Hyperledger Composer中的关系概念?
A relationship in the Composer language is a tuple composed of: Composer语言中的关系是一个元组,其组成为:
A Relationship is a typed pointer to an instance. 关系是指向实例的类型化指针。 ie the relationship with 即与
namespace = 'org.acme',
type = 'Vehicle',
id = 'ABC'
creates a pointer that points at an instance of org.acme.Vehicle with the id ABC. 创建一个指向ID为ABC的org.acme.Vehicle实例的指针。
For more details you can have use below links. 有关更多详细信息,请使用下面的链接。
https://hyperledger.github.io/composer/jsdoc/module-composer-common.Relationship.html https://hyperledger.github.io/composer/jsdoc/module-composer-common.Relationship.html
https://hyperledger.github.io/composer/reference/cto_language.html https://hyperledger.github.io/composer/reference/cto_language.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.