Closed joefagan closed 3 years ago
btrim
function works. However, the reason why it does not work as intended is that it returns the data with jsonb
type.
Therefore, it can be removed as below.
SELECT name #>> '{}' FROM (MATCH (n) RETURN n.name) cypher;
https://www.postgresql.org/docs/9.3/functions-json.html
-- | -- | -- | --
Thank you @emotionbug
btrim() not working in Cyper but works using Hybrid query
"Adam" (1 row)
quotes are not removed
Adam (1 row)
quotes correctly removed.