You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use batchGetItem it asks for the key. However, I cannot know this key in advance, for example the key is the id of the table. So how should I handle this problem?
Pls help me, Thank you!
cc @andrykonchin <3
The text was updated successfully, but these errors were encountered:
when primary key is known (GetItem and BatchGetItem)
when it is unknown (Scan and Query)
So if you don't know primary key values in advance (but have some conditions on attributes), then the only option is Scan and Query. They are used by a method where (similar to Rails' ActiveRecord):
If I use batchGetItem it asks for the key. However, I cannot know this key in advance, for example the key is the id of the table. So how should I handle this problem?
Pls help me, Thank you!
cc @andrykonchin <3
The text was updated successfully, but these errors were encountered: