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