Comments (2)
Oh, you're right, I haven't noticed that the formAggregateString
is called in all Query Strings (as long as there are functionFields). Thought there was separate method for aggregation queries and normal for some reason. :)
Then yeah, it makes sense.
I can create PR but in ~a month, I'll be OOO, if anyone feels like playing with it - go ahead :)
from query.apex.
Hi @aranwe, I think we should allow FunctionFieldTuple
in non-aggregation queries. Actually, I believe if we add a function that does functionFieldList.add(new FunctionFieldTuple('FORMAT', field, alias))
, it will work. It's just the method name formAggregateString
creates confusion and makes people think FunctionFieldTuple
are only used in aggregation queries. So it'd be better if we rename the method name also.
Do you want to work on a PR for this?
from query.apex.
Related Issues (20)
- Support SOQL toLabel function
- Support DISTANCE function
- Allow user to config flexible field attributes when select all fields HOT 1
- Code coverage is not sufficient.
- Add more condition methods to SOSL QuerySearch HOT 7
- Test code fails when using scratch org with Enterprise edition
- Cross Join HOT 1
- Limit Method HOT 1
- common.apex.runtime.impl.ExecutionException HOT 7
- Missing Database.countQuery HOT 1
- Directly set Condition.conditionString HOT 12
- Add method to query by Ids only
- orderBy does not support SObjectField parameter HOT 1
- Documentation: Make sure Org has QuickText enabled
- Using enforceGlobalSecurity and lookup() throws System.QueryException: expecting an equals sign, found ')' HOT 1
- Calling .debug() breaks countQuery() HOT 2
- Installing on org with Platform Encryption on Account.Name fails tests
- QueryTest Class uses WorkOrder object even though this Object is not present in every org by default. HOT 1
- Unit Tests fail because of missing fields: Account.Rating, Account.Sic, Account.Site, Opportunity.TotalOpportunityQuantity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from query.apex.