Skip to content

Commit

Permalink
Add deps for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrgredowski committed Sep 6, 2021
1 parent fcf5a59 commit c3d3611
Show file tree
Hide file tree
Showing 4 changed files with 518 additions and 114 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Contribute guide

To install all dependencies (use `poetry-core>=1.2.0a2`):

```bash
poetry install --with dev,docs
```

To run checks:

```bash
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Python CLI tool which allows you to convert file with table (CSV and Excel) to S


`some.csv`

```csv
a,b,c,d
int,str,float,sql
Expand All @@ -17,11 +18,13 @@ int,str,float,sql
```

Command:

```bash
table2sql some.csv --output-table some.table --has-types-row
```

Result:

```sql
INSERT INTO some.table (a, b, c, d)
VALUES (1, '2', 3.0, (SELECT id FROM another.table WHERE name = 'Paul')), (5, '6', 7.0, (SELECT id FROM another.table WHERE name = 'Paul'));
Expand Down
Loading

0 comments on commit c3d3611

Please sign in to comment.