Private
deepPrivate
Readonly
entriesPrivate
immutableGet the records/result associated to the specified SOQL or execute the query.
Returns a shallow copy of the cached result so that the caller can modify the result without affecting the cache.
SOQL query
Promise of the array pointing to the records retrieved or undefined if the query is not cached
Get the records/result associated to the specified SOQL or execute the query.
Returns a shallow copy of the cached result so that the caller can modify the result without affecting the cache.
SOQL query
executor to retrieve the records
Promise of the array pointing to the records retrieved
Private
preparePrivate
queryCalculate a unique hash for the specified query by sorting the query fields, order and group-by clauses to create a unique key that represents the query being executed best
SOQL
unique SHA1 hash of the query that can be used as cache-entry
Delete all cached entries for all or just the specified object type