From 93aefa59f65fea1c057d4966c88bacca191fbb7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 29 Dec 2018 16:06:07 +0100 Subject: [PATCH] SQLite --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76f67cf..0c2f9fd 100644 --- a/README.md +++ b/README.md @@ -772,7 +772,8 @@ db = sqlite3.connect() ```python cursor = db.execute() if cursor: - = cursor.fetchall() # Or cursor.fetchone() + = cursor.fetchone() # First row. + = cursor.fetchall() # Remaining rows. db.close() ```