anthonyreilly / NetCoreForce

Salesforce REST API toolkit for .NET Standard and .NET Core
MIT License
111 stars 63 forks source link

Is that a typo ? #19

Closed Davilink closed 4 years ago

Davilink commented 4 years ago

https://github.com/anthonyreilly/NetCoreForce/blob/52311a4e998ac44cc4ad44f12d9eec309576bef6/src/NetCoreForce.Linq/SalesforceVisitor.cs#L356-L359

For replacing single quote, should it not be .Replace("'", "\'") ? Why is it .Replace("'", "\\'") ?

Davilink commented 4 years ago

"'" === "\'"