
python – boto dynamodb2:我可以只使用范围键查询表吗?
在我的一个 python应用程序中,我正在使用boto,我想只使用范围键查询dynamodb表.我不想使用扫描. 评级表的模式 ratings = Table.create(ratings, schema=[ HashKey(user_id, data_type=NUMBER), RangeKey(photo_id, data_type=NUMBER)], throu
在我的一个 python应用程序中,我正在使用boto,我想只使用范围键查询dynamodb表.我不想使用扫描. 评级表的模式 ratings = Table.create(ratings, schema=[ HashKey(user_id, data_type=NUMBER), RangeKey(photo_id, data_type=NUMBER)], throu