Blockchain (Hyperledger Fabric)/작업 중인 Solution

Hyperledger Composer Queries 작성 Ver. 0.0.1

김야키 2019. 2. 22. 19:07

Queries(.qry) 질의 파일 작성

작성날짜 2019.02.22

Ver 0.0.1

query selectDues{ description: "학과별 학회비 정보" statement: SELECT org.example.mynetwork.Dues } query selectAllStudent{ description: "등록된 모든 학생 정보 검색" statement: SELECT org.example.mynetwork.Student } query selectStudentById{ description: "학번으로 학생 정보 검색" statement: SELECT org.example.mynetwork.Student WHERE (stdId == _$stdId) } query selectStudentByMajor{ description: "학과별로 등록된 학생 정보 검색" statement: SELECT org.example.mynetwork.Student WHERE (major == _$major) } query selectStudentByMajorInId{ description: "학과명과 학번으로 등록된 학생 정보 검색" statement: SELECT org.example.mynetwork.Student WHERE (stdId == _$stdId AND major == _$major) } query selectTransactionAll{ description: "학과별 트랜잭션 검색" statement: SELECT org.example.mynetwork.SendMoney WHERE (dues == _$dues) }