Skip to content

Commit

Permalink
feat(readme) : Add insert cases
Browse files Browse the repository at this point in the history
  • Loading branch information
seipan committed Dec 19, 2023
1 parent 76153ff commit 93fd6c3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,22 @@ exit status 1
INSERT INTO user (name, id, email) VALUES (?, ?, ?)
```
### ```insert``` option
```
csql --path=./testdata/csv/test01.csv --type=mysql --dsn="hoge:hoge@tcp(localhost:3308)/hoge?parseTime=true&collation=utf8mb4_bin"
___________ ____ __
/ ____/ ___// __ \ / /
/ / \__ \/ / / / / /
/ /___ ___/ / /_/ / / /___
\____//____/\___\_\/_____/
insert 2 rows
Inserting: | 100%%
```
## License
Code licensed under
[the MIT License](https://github.com/seipan/csql/blob/main/LICENSE).
Expand Down

0 comments on commit 93fd6c3

Please sign in to comment.