NebulaQueryAndSearch
NebulaQueryAndSearch copied to clipboard
Apex library that dynamically generates SOQL & SOSL queries
- Resolves #35 and #36 - Also updated API versions to 60.0
Query accountQuery = new Query(Schema.Account.SObjectType) // Query the account object .addField(Schema.Account.Id) .addFields(SOQL.FieldCategory.CUSTOM); // Include all custom fields - only fields that are accessible to the user are included List accounts...
With the current implementation, if you want to query multiple fields from a parent object, the code required is somewhat lengthy: ```java Query accountQuery = new Query(Schema.Case.SObjectType) .addField(new SOQL.QueryField(new List{...
Available in Spring '23 release - https://help.salesforce.com/s/articleView?id=release-notes.rn_apex_bind_var_soql.htm&type=5&release=242
https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_apex_select_with_security_enforced.htm?edition=&impact=
https://help.salesforce.com/s/articleView?id=release-notes.rn_apex_User_Mode_GA.htm&type=5&release=242
Currently, cached queries & query results are stored in private variables, which can quickly use up the Apex heap size. Platform cache should be used - either as a configurable...
Adds ability to auto-generate bind variable keys by invoking new `generateBindVariableKeys` method on an `AggregateQuery` or `Query` instance. Extends updates made in PR #49. As a nice consequence of changes...
There is no `NOT LIKE` operator in SOQL. The following fails on the query: ```apex new Query(Account.SObjectType) .filterWhere(new SOQL.QueryFilter(Account.Name, SOQL.Operator.IS_NOT_LIKE, 'xyz')) .getResults() ``` The correct syntax is `NOT Field__c LIKE...