Skip to content
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

Merged
merged 15 commits into from
Oct 10, 2023
Merged

Release/v3.0.0 #86

merged 15 commits into from
Oct 10, 2023

Conversation

pgajek2
Copy link
Member

@pgajek2 pgajek2 commented Oct 10, 2023

No description provided.

* 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
@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
apex-soql-lib ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2023 2:34pm

@pgajek2 pgajek2 added the enhancement New feature or request label Oct 10, 2023
@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #86 (b01c1cf) into main (672dd02) will not change coverage.
The diff coverage is 100.00%.

❗ Current head b01c1cf differs from pull request most recent head bebf3b0. Consider uploading reports for the commit bebf3b0 to get more accurate results

@@            Coverage Diff            @@
##              main       #86   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          660       741   +81     
=========================================
+ Hits           660       741   +81     
Flag Coverage Δ
Apex 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
force-app/main/default/classes/SOQL.cls 100.00% <100.00%> (ø)

📣 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();
Copy link
Member

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();
Copy link
Member

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>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fieldToCustomKey?

@pgajek2 pgajek2 merged commit bea65e6 into main Oct 10, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants