简体   繁体   中英

AWS DynamoDB Item access (get/put/delete) using Global Secondary Indexes

Is there a possibility to access (get/put/delete) items of a DynamoDB table using the Global Secondary Indexes (GSI)? So far, I only see the possiblity of querying over a GSI.

You can use the Query operation to access one or more items in a global secondary index.

DynamoDB GSI's allows query and scan operations. Other operations such as put, delete and get is not directly possible on top of the index. Rather you can do the action on the original table (eg delete) which will reflect in the index.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM