Ai
1 Star 1 Fork 0

yihuang/postgresql-server-protocol

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
test.py 247 Bytes
一键复制 编辑 原始数据 按行查看 历史
yihuang 提交于 2019-11-08 23:50 +08:00 . demo with fixed output data
import asyncpg
async def main():
conn = await asyncpg.connect('postgresql://user:pass@127.0.0.1:3000/brcgame')
print(conn)
print('execute fetch')
print(await conn.fetch('select * from test'))
import asyncio
asyncio.run(main())
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Haskell
1
https://gitee.com/yiprogrammer/postgresql-server-protocol.git
git@gitee.com:yiprogrammer/postgresql-server-protocol.git
yiprogrammer
postgresql-server-protocol
postgresql-server-protocol
master

搜索帮助