node.js - DynamoDB: Store array of IDs and do a batchGet for each ID -
in dynamodb, have groups
table , users
table. 1 or many users
can belong group
.
using dynamodb, possible perform 1 query single group
id, , of users
in group
user ids
in group
record?
if not, efficient way this?
no, cannot joins in nosql databases. way can retrieve group. read userids. , use either batchget or query/scan(if primary index) using "in" operator
Comments
Post a Comment