Back to Browse

Apex Cursors Have Changed How I Write Code

1.4K views
Dec 2, 2024
8:41

Interested in consulting? https://www.1sync.co/contact ----------------------------------- In this video, we discuss how to use the new Apex Cursor methods to loop through SOQL queries in Salesforce Development. Apex Cursors are a new method of retrieving data from Salesforce, and are used by calling the Database.getCursor methods. Apex Cursors will then provide a Salesforce Developer a subset of the data retrieving by the using a position, and a cursor. The true power of Apex Cursor methods are unlocked when combining with the Queueable interface. ----------------------------------- Code used in the video: https://github.com/jawills/apex-cursor-example Chapters: 0:00 Intro 0:33 Using SOQL / Queueable 2:17 Using Batch 4:34 Intro to Apex Cursor 6:04 Apex Cursor + Queueable

Download

1 formats

Video Formats

360pmp414.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Apex Cursors Have Changed How I Write Code | NatokHD