ChuckJonas / ts-force

A Salesforce REST Client written in Typescript for Typescript
88 stars 21 forks source link

Using the includes query operator does not wrap the value in parenthesis #65

Closed ScottMGerstl closed 5 years ago

ScottMGerstl commented 5 years ago

Expected: Select Id From User Where Groups__c includes ('Basic')

Actual: Select Id From User Where Groups__c includes 'Basic'

ChuckJonas commented 5 years ago

Ya, it looks like the type is incorrect. I'll push a fix. Functionality it does work if you pass an array:

https://stackblitz.com/edit/ts-force-query-playground-repo

ChuckJonas commented 5 years ago

fixed in 2.6.1