• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Blog
  • Contact

Salesforce Insider

Salesforce News, Reviews, and Analysis

Working with Salesforce Records Using SOQL and DML

August 10, 2022 by Alba Rivas Leave a Comment

SOQL (Salesforce object query language) and DML (Data manipulation language) are the languages used in Salesforce to read and modify records, respectively. In this blog post, we’ll explore how to use them in Apex, including best practices to prevent hitting governor limits. This will be particularly helpful to developers who are new to Salesforce development, or those who need a refresher on these topics.

Multitenancy in Salesforce

Before diving into SOQL and DML, it’s important to first understand how your records are stored in Salesforce. The database that contains your records behind the scenes does not actually contain a SQL table for each of your standard and custom objects. The database stores records in a multitenant database, a database that stores data and metadata from multiple tenants in a standardized way. The database contains generic tables to store standard and custom object records.

I particularly like the image below from

Filed Under: News

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

More to See

How To Use Agentforce To Support and Scale Your Sales Team

June 10, 2025 By Katie Campbell

Prepare Your Data for Agentforce | How I Solved It

June 9, 2025 By jennifer.w.lee@salesforce.com

Use Metadata To Empower Salesforce Agents

June 5, 2025 By mgerholdt@salesforce.com

6 Tips To Help You Troubleshoot Agentforce With Confidence

June 4, 2025 By Joshua Birk

Accelerate Automation With Summer ’25 Flow Features | Be Release Ready

June 3, 2025 By Aleksandra Radovanovic

Footer

About Salesforce Insider

Salesforce Insider is your one-stop shop for Salesforce news, reviews, and analysis.

Do you have something to share? Contact us and let us know!

Recent

  • How To Use Agentforce To Support and Scale Your Sales Team
  • Prepare Your Data for Agentforce | How I Solved It
  • Use Metadata To Empower Salesforce Agents
  • 6 Tips To Help You Troubleshoot Agentforce With Confidence
  • Accelerate Automation With Summer ’25 Flow Features | Be Release Ready

Search

Copyright © 2025 · Salesforce Insider