Saasli / saasli-backend

Documentation
https://saasli.github.io/docs/
0 stars 0 forks source link

[Salesforce-rest] any usage of 'query' should properly handle the data type #28

Closed godd9170 closed 7 years ago

godd9170 commented 7 years ago

So in the where clause of the query, I hardcoded the ' ' chars around the search keyword. This works for strings, but breaks if it's integers, booleans etc.

So there needs to be some more abstraction surrounding how the where clause is to be given to the query function. A string isn't going to cut it.

https://github.com/Saasli/saasli-backend/blob/master/utils/salesforce-rest/tools.py#L25

godd9170 commented 7 years ago

Got this one figured out in 759921e70cf572eb99234ee751abce00774a36fa