Go Package database: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
* [[Go_Language_Modularization#database|Standard Library]] | * [[Go_Language_Modularization#database|Standard Library]] | ||
* [[PostgreSQL_Support_in_Go#Libraries|PostgreSQL Support in Go]] | |||
* [[SQL#Overview|SQL]] | |||
= | =<tt>database</tt>= | ||
=<tt>database/sql</tt>= | |||
Go has built-in database support in its <code>database/sql</code> library, but it's quite generic since it has to be able to work uniformly with many different database platforms. For applications that are connecting to a specific database, it makes sense to use a specialist library. For PostgreSQL there is [[Jackc/pgx|jackc/pgx]]. |
Latest revision as of 23:07, 22 May 2024
External
Internal
database
database/sql
Go has built-in database support in its database/sql
library, but it's quite generic since it has to be able to work uniformly with many different database platforms. For applications that are connecting to a specific database, it makes sense to use a specialist library. For PostgreSQL there is jackc/pgx.