Skip to content

Commit a5442a5

Browse files
committed
Update example to execute a valid SQL statement for BIT type
1 parent 80c62fa commit a5442a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/by-example/cursor.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ CrateDB's ``BIT`` type is returned over HTTP in its SQL literal form,
393393
... "duration":1
394394
... })
395395

396-
>>> cursor.execute('')
396+
>>> cursor.execute("select b'0110'")
397397

398398
>>> cursor.fetchone()
399399
['0110']

0 commit comments

Comments
 (0)