Skip to content

@gala-chain/chaincodeAPI


API > 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

Source

chaincode/src/utils/state.ts:94