Loading tutorials
SELECT, WHERE, ORDER BY, LIMIT), read Apex collections, and run anonymous Apex. It compares the two query languages so you can pick one for a given requirement.2 min readFIND clause, run SOSL in the Developer Console or anonymous Apex, and read a RETURNING clause. It covers the IN clause, which controls which fields SOSL matches your search term against.2 min readFIND ... RETURNING query and run it in anonymous Apex or the Developer Console. It covers how to shape the search expression, which is the text after FIND.2 min readFIND ... RETURNING query. It covers how to filter, sort and page the records for each object in the RETURNING clause.2 min readList<List<SObject>> result in Apex. It covers how to pass Apex values into static SOSL with bind variables, and where binds stop working.3 min readFIND and a RETURNING clause, and that you know how bind variables work. Here you will build a SOSL query as a string at run time. You will run it with Search.query, and you will keep user input from changing the meaning of the query3 min readList<List<SObject>> result, and write basic Apex tests with @IsTest, Test.startTest(), and System.assertEquals.2 min readFIND query with a RETURNING clause and read the List<List<SObject>> result in Apex. The refinements here are optional. They change how results are scoped or presented, not which search terms match.2 min read