@gala-chain/chaincode • Readme | API
@gala-chain/chaincode / getObjectsByPartialCompositeKeyWithPagination
Function: getObjectsByPartialCompositeKeyWithPagination()
getObjectsByPartialCompositeKeyWithPagination\<
T>(ctx,objectType,attributes,constructor,bookmark,limit):Promise\<object>
Type parameters
• T extends ChainObject
Parameters
• ctx: GalaChainContext
• objectType: string
• attributes: string[]
• constructor: ClassConstructor\<Inferred\<T, ChainObject>>
• bookmark: undefined | string
• limit: number= TOTAL_RESULTS_LIMIT
Returns
Promise\<object>
metadata
metadata:
QueryResponseMetadataresults
results:
T[]