Go Package database: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
* [[Go_Language_Modularization#database|Standard Library]]
* [[Go_Language_Modularization#database|Standard Library]]
* [[PostgreSQL_Support_in_Go#Libraries|PostgreSQL Support in Go]]
* [[PostgreSQL_Support_in_Go#Libraries|PostgreSQL Support in Go]]
* [[SQL#Overview|SQL]]
=<tt>database</tt>=


=<tt>database/sql</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]].
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.