-
Notifications
You must be signed in to change notification settings - Fork 562
Closed
Labels
bugIdentified bug which needs a fixIdentified bug which needs a fix
Milestone
Description
If a string type filter has a value that contains consecutive dollar signs (eg. some$$thing) then the expression returned by getSQL will not have the correct number of dollar signs (see. attached image)

The reason of this problem that in this
| return sql.op.replace('?', v); |
I am wondering if this replace call can be changed that the second parameter would be a function
return sql.op.replace('?', function(){return v;})
since in this case the special replacement patterns would not apply and the value would be correct in the text returned by getSQL. Thanks.
Metadata
Metadata
Assignees
Labels
bugIdentified bug which needs a fixIdentified bug which needs a fix