We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppose I have to following table named Test in a SQLite database:
Test
Here's a CSV file which I want to append:
Id,Text 1,One 2,Two
I used the following command for the merge:
csvs-to-sqlite -t Test Test.csv sqlite.db
Here's the modified Test table:
As you can see, there are duplicate elements in the Id column (which is not a primary key)
Id
Is there a way to get the following output ?
If I declared the Id column as a primary key, appending to the table produces the error sqlite3.IntegrityError: UNIQUE constraint failed: Test.Id.
sqlite3.IntegrityError: UNIQUE constraint failed: Test.Id
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Suppose I have to following table named
Test
in a SQLite database:Here's a CSV file which I want to append:
I used the following command for the merge:
csvs-to-sqlite -t Test Test.csv sqlite.db
Here's the modified
Test
table:As you can see, there are duplicate elements in the
Id
column (which is not a primary key)Is there a way to get the following output ?
If I declared the
Id
column as a primary key, appending to the table produces the errorsqlite3.IntegrityError: UNIQUE constraint failed: Test.Id
.The text was updated successfully, but these errors were encountered: