Original post

I am using PGX driver to connect my web app with Postgresql database. As I read on the package documentation, there are two options to write code – directly with PGX interface or through Database/SQL. I would like to know the pros and cons of both to decide what to use. One advantage of using Database/SQL I can see is to change the driver in future if there is any better driver or PGX driver is not maintained.