-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/v3.0.0 #86
Release/v3.0.0 #86
Conversation
* GROUP BY CUBE + Exception * Fix groupBy with default fields
* grouping * refactoring
* toMap with custom key * toMap with custom key and type * toAggregatedMap * refactoring * toMap and toAggregatedMap * refactoring * Fix toMap cast * documentation update
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #86 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 660 741 +81
=========================================
+ Hits 660 741 +81
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
).getRecords(); | ||
} | ||
|
||
public Integer toInteger(String query, Map<String, Object> binding) { | ||
public Map<Id, SObject> toMap() { | ||
Map<Id, SObject> recordPerId = (Map<Id, SObject>) Type.forName('Map<Id, ' + ofObject + ' >').newInstance(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
recordToId?
} | ||
|
||
public Map<String, SObject> toMap(SObjectField keyField) { | ||
Map<String, SObject> recordPerCustomKey = (Map<String, SObject>) Type.forName('Map<String, ' + ofObject + ' >').newInstance(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
recordToCustomKey?
} | ||
|
||
public Map<String, String> toMap(SObjectField keyField, SObjectField valueField) { | ||
Map<String, String> customValuePerCustomKey = new Map<String, String>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fieldToCustomKey?
No description provided.