I've been working on an Express app that has a form designed to hold lines and quotes.
Some of the lines will have single quotes('
), but overall it's able to store the info and I'm able to back it up and store it without any problems. Now, when I want do pg_dump
and have the database put into an SQL file, the quotes seem to cause some things to appear a bit wonky in my text editor.
Would I have to create a method to change all the single quotation marks into double, or can I leave it as is and be able to upload it back to the database without causing major issues. I know people will continue to enter in lines that contain either single or double quotations, so I would like to know any solution or answer that would help greatly.