Skip to content
New issue

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

feat(cmd/tblconv): support table initialization for new db instances #25

Open
Zaba505 opened this issue May 30, 2022 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Zaba505
Copy link
Owner

Zaba505 commented May 30, 2022

Currently, the target table for writing data to must be initialized before tblconv can be used to write any records into it. For example, the following command will fail if the foo table isn't already present in the sqlite database.

tblconv csv into sql -s sqlite -q "insert into foo(id, name) values (?, ?);" data.csv
@Zaba505 Zaba505 added the enhancement New feature or request label May 30, 2022
@Zaba505 Zaba505 self-assigned this May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant