- batchGet(requestItems: Record<string, Omit<KeysAndAttributes, "Keys"> & { Keys: undefined | Record<string, any>[] }>[], options?: Partial<BatchGetCommandInput>): Promise<BatchGetCommandOutput>
-
Parameters
-
requestItems: Record<string, Omit<KeysAndAttributes, "Keys"> & { Keys: undefined | Record<string, any>[] }>[]
-
Optional
options: Partial<BatchGetCommandInput>
Returns Promise<BatchGetCommandOutput>
Returns the attributes of one or more items from one or more tables by delegating to
BatchGetCommand
.You can use the batchItem helper to create the request items.
Example
Returns
The same response returned by
send()
ing this command