pynamodb / PynamoDB

A pythonic interface to Amazon's DynamoDB
http://pynamodb.readthedocs.io
MIT License
2.41k stars 428 forks source link

batch_get from more than one tables #562

Open cui-dalihai opened 5 years ago

cui-dalihai commented 5 years ago

Hi, boto3 has batch_get_item which support get record from one or more tables, which pynamodb's batch_get can only get from one table if I understand correctly.

Is there any plan to add this feature to pynamodb?

mojimi commented 5 years ago

I'm also really needing this, basically a low-level/schema-less/multi-schema batch get/write.

I think it might already be possible by analyzing the source code but I couldn't get anywhere.

When I use a batch.delete(item), does item needs to be the same model? I have multiple models in the same table in my context.

ikonst commented 5 years ago

@jpinner-lyft, this is what you were talking about.

wobeng commented 5 years ago

any update on this request?

ikonst commented 5 years ago

@wobeng Not aware of any progress being currently made.

jin09 commented 4 years ago

Facing same issue with batch write API

jordal commented 2 years ago

+1 This would be very useful. Any suggestions on what an API for multi-table batch_get would look like? That would be a constructive starting point.