I want to get a collection of records from DB where a field matches multiple values (counting is not predetermined can be done). For example,
Tables.A.ID.in (set of id) table.aid.net (set of id)
I Anyone tried to implement it through the documents of Gaya Fank, bringing many more but no success was found.
I want to get all the rows in the DB that match the "Set of ID", where the IDs are not unique.
I am not able to understand how I can use 'in' and 'no' in my excuse. Can anyone show me with an example how to get a set of resulting records from the database?
I suspect, are you just looking for this?
set & lt; Integer & gt; SetOfIDs = ... results & lt; Record & gt; Results = DSL.using (configuration) .select () .from (a) .where (setOfIDs)) .fetch ();
Comments
Post a Comment