From 1899200fa5a43f638573ea2c483df62819ba53b1 Mon Sep 17 00:00:00 2001 From: "Juan E. D" Date: Tue, 2 Mar 2021 20:13:32 -0300 Subject: [PATCH] Typo in upsert example Remove extra `[` --- docs/python-api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/python-api.rst b/docs/python-api.rst index e5ffd44..9dfdcdc 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -647,7 +647,7 @@ For example, given the dogs database you could upsert the record for Cleo like s .. code-block:: python - db["dogs"].upsert([{ + db["dogs"].upsert({ "id": 1, "name": "Cleo", "twitter": "cleopaws",