Release Spring 21- SOQL what’s new ?

By

1 minutes de lecture

We’ve all been waited, finally Salesforce did it ! Within release Spring 21, Salesforce improves SOQL (Salesforce object query) query abilities using the new useful FIELDS() function.

Salesforce FIELDS Function

What’s new?

You can use in your select statement FILEDS(ALL) to query all fields of your Salesforce object.

You can use in your select statement FILEDS(STANDARD) to query all standards fields of a Salesforce object.

You can use in your select statement FILEDS(CUSTOM) to query all custom fields of a Salesforce object.

SOQL FIELDS function must have a LIMIT of at most 200 records.

We love Salesforce FIELDS Function!

As you understand, we love it because it is such a gain of time !

Want to learn more? Check out our article Save some SOQL queries with the Spring ’21 new Custom Metadata Static Methods

Read more posts

Enforce code standards with PMD

Developers working on a project usually set coding rules to have a standardized codebase. It is an important piece of the code maintainability, and it can be very easy …
March 2023
Advices
Scratch orgs

Uncovering Salesforce Settings: A Step-by-Step Guide for Scratch Orgs

Today, it’s pretty easy to build your Scratch Org definition file when you know what Settings you want to activate, as they are mapped with the same setting names …
February 2023
Advices
Business Analyst

Core qualities of a Business Analyst?

A common definition we are used to hear is that being a Business Analyst means to have a combination of both hard skills and soft skills. What does a …
June 2022
Advices
Image d'illustration d'une employée travaillant sur un ordinateur portable

Process builder and workflow make way to Flows (½)

Overview “If you can do it with a Workflow, then do it with a Process Builder, because everything a Workflow does, a Process Builder does it better”. If you …
March 2022
Advices

Day 22 : Salesforce new “Migrate To Flow tool” in Spring 22

As most of you already know, the workflow rules and process builders are planned to be retired in 2023 (no precise date defined so far). Today, I’m going to …
December 2021
Advices

Day 18 : Fake callout responses for test classes !

Hello everybody ! Today let’s talk about Apex tests classes in Salesforce. Everyone loves a good test class, and Salesforce makes it official by requiring to have a minimum …
December 2021
Advices