Go Package database: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=External= * https://golang.org/pkg/database * https://golang.org/pkg/database/sql =Internal= * Standard Library =Functions=") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
=Internal= | =Internal= | ||
* [[ | * [[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.