From 87ec97dace488a632722f5b102eeb58dc300c68d Mon Sep 17 00:00:00 2001 From: Dan McKinley Date: Wed, 17 Jul 2024 10:19:04 -0700 Subject: [PATCH] Fixes tutorial to match 0.3.0 multi-row-insert behavior cf. #73 --- docs/tutorial.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index ee5d205..65dcc1a 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -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