You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger SomeObjectTrigger on SomeObject (after update, after delete) {
200
+
SOQLCache.invalidateRecords(Trigger.old);
201
+
}
202
+
```
203
+
185
204
## INITIAL QUERY
186
205
187
206
The initial query allows for the bulk population of records in the cache (if it is empty), ensuring that every subsequent query in the cached selector will use the cached records.
0 commit comments