Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 238 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 238 Bytes

连接PostgreSQL

from pgman import PostgreSQL

pg = PostgreSQL(db="test", user="wauo", password="123456")

name = "people"
pg.make_table(name)

res = pg.exe_sql("select * from people limit 10", query_all=True)
print(res)