mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 05:00:03 +08:00
12 lines
134 B
Python
Vendored
12 lines
134 B
Python
Vendored
import psycopg2
|
|
|
|
conn = psycopg2.connect('dbname=test')
|
|
|
|
#? ['cursor']
|
|
conn.cursor
|
|
|
|
cur = conn.cursor()
|
|
|
|
#? ['fetchall']
|
|
cur.fetchall
|