What's the most suitable psql library in golang?

polaris · · 312 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;m currently working on a graphql api and wanna implement the database with psql. I know that go offers the database/sql library out of the box, but since I&#39;m looking to work with postgres, I&#39;m supposed to use some drivers. So far I&#39;ve seen this package <a href="https://github.com/jackc/pgx" rel="nofollow">https://github.com/jackc/pgx</a> that says is the fastest one, but I don&#39;t know if it has disadvantages comparing to other psql drivers. I&#39;ll be working with maps if this might change some opinions,other than that, jackc/pgx seems the greatest choice here, but since I don&#39;t have that much experience, looking for opinions!</p> <hr/>**评论:**<br/><br/>schoenobates: <pre><p>Been using pgx for a while. Great solid library. Highly recommend it</p></pre>shark1337: <pre><p>Great to hear this, ty!</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

312 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传