Answer the question
In order to leave comments, you need to log in
Searching records in postgres database?
Suppose we have a list of a million id. It is necessary to make a selection from the base of the record whose id is in this list. What are the effective solutions? Beyond the obviousfindByIdIn(List<String> id)
Answer the question
In order to leave comments, you need to log in
Create somewhere separately an ARRAY type field with these IDs, and substitute it in the query
... where id = any(array_field)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question