function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michael Bobee 4Michael Bobee 4 

Shield Encryption WHERE workaround

We recently enabled Shield Platform Encryption against our production environment. However, I wrote a trigger that will defintely choke on the limitations placed against Shield:
     List<Contact> contact = [SELECT Id FROM Contact WHERE Email = :emailid];

I am not a developer and only dabble in triggers, so I don't understand the documented example on usung the FIND statement as a viable workaround for this issue. Can someone either direct me or offer an example to help me transform this line of code? Thank you!