FlashKeepers

Salesforce · Salesforce PD1 · Professional Certifications

Salesforce Platform Developer I: Apex Basics

Apex syntax, triggers, and governor limits concepts tested on the Salesforce Platform Developer I exam.

About this set

39 basic cards for Salesforce PD1 Salesforce. It opens with "What is Apex?" and "Define a trigger in Apex". More Professional Certifications decks are listed below.

39 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is Apex?
Show answerSalesforce's proprietary, statically typed programming language for building business logic
Define a trigger in Apex.
Show answerCode that executes automatically in response to DML operations (insert, update, delete) on Salesforce records
What does Trigger.new reference?
Show answerList of records being inserted or updated in the current transaction
What does Trigger.old reference?
Show answerList of records with their pre-update values before the update is applied
What is Trigger.operationType used for?
Show answerTo determine which DML operation (insert, update, delete, undelete) triggered the code
What is a governor limit?
Show answerA maximum resource threshold enforced by Salesforce to prevent any single execution from monopolizing shared infrastructure
What is the governor limit for SOQL queries per transaction?
Show answer100 queries
What is the governor limit for records returned in a SOQL query?
Show answer50,000 records
What is the governor limit for DML statements per transaction?
Show answer150 DML statements
What is the governor limit for records processed by DML statements?
Show answer10,000 records total
What is SOQL?
Show answerSalesforce Object Query Language, a syntax for querying Salesforce records
What is a SOQL for loop and when should it be used?
Show answerA loop that retrieves records in batches to process large datasets without hitting the 50,000 record limit
What DML statements are available in Apex?
Show answerinsert, update, upsert, delete, undelete
What exception is thrown when a DML operation fails?
Show answerDmlException
What is the difference between insert and database.insert()?
Show answerinsert throws an exception on failure; database.insert() returns a SaveResult with success/failure details

24 more cards in the app

Study this set free