Skip to content

Commit f556043

Browse files
committed
Fixed an inaccurate comment in README.md
1 parent 73323b1 commit f556043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ Soql contactQuery = new Soql(Schema.Contact.SobjectType); // C
6262
Soql leadQuery = new Soql(Schema.Lead.SobjectType); // Create an instance of Soql for the Lead object
6363
List<Soql> queries = new List<Soql>{accountQuery, contactQuery, leadQuery}; // Add the Soql queries to a list
6464
65-
Sosl mySearch = new Sosl('my search term', queries); // Create a new Sosl instance with a search term & the list of Soql queries
66-
List<List<Sobject>> searchResults = mySearch.getSearchResults(); // Sosl returns a list of lists of sobjects - getFirstSearchResults() returns the first list
65+
Sosl mySearch = new Sosl('my search term', queries); // Create a new Sosl instance with a search term & the list of Soql queries
66+
List<List<Sobject>> searchResults = mySearch.getSearchResults(); // Returns all search results
6767
```

0 commit comments

Comments
 (0)