Hot answers tagged

2 votes

How to compare values in soql query when field may have a different format

I had a similar situation where we need to query for phone numbers, but the phone number field can vary greatly in how people choose to enter them. (321)555-1212 vs 321-555-1212 etc I solved for that ...
user avatar
  • 740
2 votes

Lean, fast and flexible replacement for the fflib QueryFactory

It might be useful for you to include what features you're looking for in a query builder in your question. Because it's not obvious to me what you would need, like, dislike in a query builder. e.g. ...
user avatar
  • 12.8k
2 votes
Accepted

How to fetch name field for a record of given record id but known object?

Salesforce says, sometimes it is not accurate, what it says :) There is a possibility to get "main" name field for every object: custom and standard. Use isNameField method. String ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible