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
Csvq automatically encloses a field when delimiters or enclosures are present in the field data. However, if a field contains newline characters, the field is not enclosed.
As a workaround, you can enclose all fields by setting the "Enclose All" attribute of the table to "true" before updating the data.
csvq 'ALTER TABLE `new.csv` SET ENCLOSE_ALL TO TRUE; INSERT into `new.csv` (ID, Username, Text, Counter) VALUES(2, "Gloria", "sometext", 0);'
Situation: We have a valid file, with newlines in a string, we can query:
file:
query:
results in
also
results in
But if we now enter a new entry:
it broke our existing file! (note the missing quotes in the "What a nice ..... newline" line)
This happens in the database-driver version as well as in the command line client.
Am I missing a parameter / using it wrong?
Thanks for your awesome work!
The text was updated successfully, but these errors were encountered: