暂无图片
使用JavaScript连接PostgreSQL数据库
最近更新:2022-03-11 14:21:05

PostgreSQL的客户端接口

在PostgreSQL发行版中只包含两个客户端接口: libpq 和 ECPG

  • libpq is included because it is the primary C language interface, and because many other client interfaces are built on top of it.
  • ECPG is included because it depends on the server-side SQL grammar, and is therefore sensitive to changes in PostgreSQL itself.

其他语言客户端接口: |Name|Language|Comments|Website| |-|-|-|-| |DBD::Pg|Perl|Perl DBI driver|https://metacpan.org/release/DBD-Pg| |JDBC|Java|Type 4 JDBC driver|https://jdbc.postgresql.org/| |libpqxx|C++|C++ interface|https://pqxx.org/| |node-postgres|JavaScript|Node.js driver|https://node-postgres.com/| |Npgsql|.NET|.NET data provider|https://www.npgsql.org/| |pgtcl|Tcl|-|https://github.com/flightaware/Pgtcl| |pgtclng|Tcl|-|https://sourceforge.net/projects/pgtclng/| |pq|Go|Pure Go driver for Go's database/sql|https://github.com/lib/pq| |psqlODBC|ODBC|ODBC driver|https://odbc.postgresql.org/| |psycopg|Python|DB API 2.0-compliant|https://www.psycopg.org/|

简单介绍

Node.js

  简单的说 Node.js 就是运行在服务端的 JavaScript。

......