Best way to return a set of IDs #289
Unanswered
stefanofornari
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I have a simple table (id varchar, size bigint). What would be the best way to get a set of of valid ids given a list?
The only way I found is as follows:
queryBuilder().selectColumn("id"),where().in("id", myList());
However, it returns a List which I then need to process to extract the ids. Any better method?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions