• Rival Suheri
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Is there any limit to the number of entries in a set or list that can be used in an IN clause in SOQL?

 

 

List<Id>myIdList = ....

List<OpportunityLineItem>oliList = [select id, opportunityId, quantity
                                    from OpportunityLineItem
                                    where id in :myIdList];

 

Is there anythg that would prevent myIdList having 100, or 1000, or 5000 entries and still working with the SOQL query?