You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
replace call the second parameter is specified as a string hence there are some special replacement patterns applied see reference
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.
The text was updated successfully, but these errors were encountered:
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
jQuery-QueryBuilder/src/plugins/sql-support/plugin.js
Line 331 in 0d41d9c
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.
The text was updated successfully, but these errors were encountered: