This article highlights some features that may not be majorly used or known

The replace() command in JavaScript has a callback that provides you with some more information such as the matched content, the index, and the original string. …

We know that in Salesforce we have a powerful way to execute things in bulk using Batch Apex . But seldom we arrive in a scenario where we need Database.Stateful .

Batch apex is an asynchronous process that is stateless by default . In simple words, stateless process can be…

System.Callout Exception: You have uncommitted work pending. Please commit or rollback before calling out.

This will be a series of blogs on exceptions in Salesforce , this is the first one that I thought of writing about .

Why the exception occurred?

The reason being that you cannot perform a DML operation prior to…

Let’s traverse through data

The Database.Batchable interface contains three methods that must be implemented. Namely, the start, the execute and the finish.

The start method can return either a QueryLocator or something called Iterable . Just like the below code

public (Database.QueryLocator | Iterable<sObject>) start(Database.BatchableContext bc) {}

In this post…

Deep Banerjee

Developer and part time tech blogger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store