PynamoDB icon indicating copy to clipboard operation
PynamoDB copied to clipboard

batch_get from more than one tables

Open cui-dalihai opened this issue 6 years ago • 6 comments

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?

cui-dalihai avatar Nov 25 '18 06:11 cui-dalihai

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.

mojimi avatar May 24 '19 13:05 mojimi

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

ikonst avatar May 24 '19 15:05 ikonst

any update on this request?

wobeng avatar Jul 28 '19 16:07 wobeng

@wobeng Not aware of any progress being currently made.

ikonst avatar Jul 29 '19 18:07 ikonst

Facing same issue with batch write API

jin09 avatar Apr 13 '20 11:04 jin09

+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.

jordal avatar Jan 08 '22 08:01 jordal