Skip to content

Pass a list of input parameters to a query #2934

Answered by Mike278
Sandrichka22 asked this question in Q&A
Discussion options

You must be logged in to vote

Have a look at this part of the docs.

In your case it'd look something like:

checkForNewPosts: SELECT COUNT(*)
FROM PostsEntity P
WHERE id IN ? AND type IN ?;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simolus3
Comment options

Answer selected by simolus3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants