Skip to content

DYNAMODB Confusion using WHERE IN in select statement with execute_statement called through the resource instead of client #3461

Answered by NT-Timm
NT-Timm asked this question in Q&A
Discussion options

You must be logged in to vote

Ok. Someone on reddit pointed me to how to properly put parameters in in IN statement.

It seems you have to add a ? for every parameter in the IN and add the corresponding parameter to the parameterlist.

Kinda weird but it works.
But I would have never thought of this. No example ever shows that this is the way it's supposed to use.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@NT-Timm
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by NT-Timm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants