We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently no datetime is supported.
Something like this would be appreciated. Also date literals would be great.
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm
private static final String GMT_DATE_FORMAT = 'yyyy-MM-dd\'T\'HH:mm:ss\'Z\''; public class CompareCondition extends FieldCondition { .... public Condition lt(Datetime fieldValue) { this.formedCondition = this.fieldName + ' < ' + fieldValue.formatGmt(GMT_DATE_FORMAT); return this; } public Condition gt(Datetime fieldValue) { this.formedCondition = this.fieldName + ' > ' + fieldValue.formatGmt(GMT_DATE_FORMAT); return this; } public Condition lte(Datetime fieldValue) { this.formedCondition = this.fieldName + ' <= ' + fieldValue.formatGmt(GMT_DATE_FORMAT); return this; } public Condition gte(Datetime fieldValue) { this.formedCondition = this.fieldName + ' >= ' + fieldValue.formatGmt(GMT_DATE_FORMAT); return this; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently no datetime is supported.
Something like this would be appreciated.
Also date literals would be great.
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm
The text was updated successfully, but these errors were encountered: