-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Currently if you try to add Query.selectField('FORMAT(Amount) Amount')
the Query formating fails on:
checkFieldLevelSecurity(Schema.SObjectType objType, String fieldPath)
because it tries to get the whole String from fieldMap.
FunctionFieldTuple
s are supported only in aggregate queries.
Either there should be regexp that would support FORMAT() in checkFieldLevelSecurity or there should be some more advanced mechanism to allow FunctionFieldTuples in non-aggregation queries ... though SOQL supports only FORMAT() as function call in non-aggregation queries?
What do you think?
Cheers,
O.
Metadata
Metadata
Assignees
Labels
No labels