Skip to content

Escaping $ In Arrays? #893

Closed Answered by vitaly-t
Lozoute asked this question in Q&A
Discussion options

You must be logged in to vote

Why are you expecting for the dollar to be escaped? It doesn't need to be.

I ran that exact code, and there was no error in the code generated:

INSERT INTO "my_table"("externalId","skills") VALUES('Foo',ARRAY['Toshop','InDesign']),('Bar',ARRAY['unescaped$Dollars','Excel'])

So I don't know what error or issue you are talking about.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Lozoute
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants