How to query events that contain double quotes in their value · cometbft cometbft · Discussion #3820 · GitHub
More Web Proxy on the site http://driver.im/
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
I have a query (cosmos sdk events, but I don't thing that part is related) which looks like this a.b.c = '"a"', notice that the value of the query is "a" and contains double quotes ("").
Sending such query gives a parsing error
parse error near equal (line 1 symbol 8 - line 1 symbol 9):
"="
I tested this query via rpc endpoing and also directly adding a test condition into unit test here.
So I wonder if it is possible to write such a query and if it, how can I do it ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a query (cosmos sdk events, but I don't thing that part is related) which looks like this
a.b.c = '"a"'
, notice that the value of the query is "a" and contains double quotes ("").Sending such query gives a parsing error
I tested this query via rpc endpoing and also directly adding a test condition into unit test here.
So I wonder if it is possible to write such a query and if it, how can I do it ?
Beta Was this translation helpful? Give feedback.
All reactions