From 5d8a5736372965524547fc029ea06697853f4d03 Mon Sep 17 00:00:00 2001 From: hantmac Date: Mon, 4 Dec 2023 20:49:38 +0800 Subject: [PATCH] fix: demo docs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f19a978..ccd42cc 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,9 @@ Pure Client example: > >>> client = Client.from_url('http://root@localhost:8000/db?secure=False©_purge=True') > >>> > >>> client.execute('SHOW TABLES') -> [('test',)] +> [[], [('test',)]] +> >>> client.execute("show tables",with_column_types=True) +> [[('Tables_in_default', 'String')], [('test',)]] # [[(column_name, column_type)], [(data,)]] > >>> client.execute('DROP TABLE IF EXISTS test') > [] > >>> client.execute('CREATE TABLE test (x Int32)')