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

[Feature Request]: Search records by date #11

Open
toledosteve opened this issue Apr 10, 2015 · 0 comments
Open

[Feature Request]: Search records by date #11

toledosteve opened this issue Apr 10, 2015 · 0 comments

Comments

@toledosteve
Copy link

Currently when passing in either a datetime or using Salesforce's SOQL date objects such as 'THIS_YEAR' the parameters will get wrapped in quotes and fail.

The error when passing in a date for 'CreatedDate':

error: INVALID_FIELD: 
Address_Comments__c, CWS__c FROM Lead WHERE CreatedDate = 'THIS_YEAR' AND RecordTypeId
                                            ^
ERROR at Row:1:Column:276
value of filter criterion for field 'CreatedDate' must be of type dateTime and should not be enclosed in quotes

I hope to work on a fix this weekend based on a custom adapter we made for loopback/strongloop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant