Skip to content

Commit

Permalink
Fixes tutorial to match 0.3.0 multi-row-insert behavior
Browse files Browse the repository at this point in the history
cf. #73
  • Loading branch information
mcfunley authored Jul 17, 2024
1 parent 70023dd commit 87ec97d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ as you would normally:
insert into foo (id, val) values (:id, :val)
```

You can then pass many `dicts` to the resulting function, like this:
You can then pass a list of `dicts` to the resulting function, like this:

```python
queries.create_foo(
queries.create_foo([
{ 'id': 2, 'val': 'x' },
{ 'id': 3, 'val': 'y' },
{ 'id': 4, 'val': 'z' },
)
])
```

### IN clauses
Expand Down

0 comments on commit 87ec97d

Please sign in to comment.