Spaces:
Sleeping
Sleeping
Delete faq.json
Browse files
faq.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"what is a governor limit in apex?": "Governor limits in Apex are enforced to ensure no single Apex transaction monopolizes shared resources. They limit SOQL queries (100), DML statements (150), CPU time, heap size, and more.",
|
| 3 |
-
|
| 4 |
-
"how can i improve soql performance?": "Use selective filters, indexed fields, avoid SELECT *, limit returned fields, use LIMIT, and avoid nested subqueries where possible.",
|
| 5 |
-
|
| 6 |
-
"difference between soql and sosl?": "SOQL is used to query Salesforce objects and fields directly. SOSL is for full-text search across multiple objects and fields.",
|
| 7 |
-
|
| 8 |
-
"what is heap size in apex?": "Heap size is the amount of memory used by your code during execution. The limit is 6MB for synchronous and 12MB for asynchronous transactions.",
|
| 9 |
-
|
| 10 |
-
"how many dml operations are allowed in apex?": "You can perform up to 150 DML statements per Apex transaction.",
|
| 11 |
-
|
| 12 |
-
"what is a future method in apex?": "A future method is an asynchronous Apex method used for operations that can be executed after the current transaction, like callouts or heavy processing.",
|
| 13 |
-
|
| 14 |
-
"what is a batch class in apex?": "A Batch Apex class allows you to handle large data volumes by breaking them into chunks and processing asynchronously using start, execute, and finish methods.",
|
| 15 |
-
|
| 16 |
-
"how can i call an external api from apex?": "Use the Http and HttpRequest classes along with Named Credentials to securely call external APIs from Apex.",
|
| 17 |
-
|
| 18 |
-
"what is the difference between before and after triggers?": "Before triggers are used to validate or update values before saving to the database. After triggers are used when records already exist in the database and you need their IDs.",
|
| 19 |
-
|
| 20 |
-
"how to handle errors in apex?": "Use try-catch blocks to handle exceptions. Always log meaningful errors and avoid exposing sensitive details to users.",
|
| 21 |
-
|
| 22 |
-
"how to deploy from sandbox to production?": "Use Salesforce CLI or Change Sets to deploy metadata. Ensure all tests pass with at least 75% coverage in production."
|
| 23 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|