mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 09:29:46 +03:00
Remove semicolon from code example
This commit is contained in:
parent
590ba04ebe
commit
234a4f443d
|
@ -47,7 +47,7 @@ You may then import the ``psycopg`` package, as usual:
|
||||||
cur = conn.cursor()
|
cur = conn.cursor()
|
||||||
|
|
||||||
# Execute a query
|
# Execute a query
|
||||||
cur.execute("SELECT * FROM my_data;")
|
cur.execute("SELECT * FROM my_data")
|
||||||
|
|
||||||
# Retrieve query results
|
# Retrieve query results
|
||||||
records = cur.fetchall()
|
records = cur.fetchall()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user