当前位置:网站首页>Node. JS ODBC connection PostgreSQL
Node. JS ODBC connection PostgreSQL
2022-04-23 15:26:00 【allway2】
const odbc = require('odbc');
async function queryData() {
const connection = await odbc.connect('DSN=PostgreSQL35W;UID=postgres;PWD=postgres;');
const data = await connection.query('SELECT * FROM bindata');
console.log(data);
}
queryData();
版权声明
本文为[allway2]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231525131111.html
边栏推荐
- Thinkphp5 + data large screen display effect
- Modify the default listening IP of firebase emulators
- MySQL installation process (steps for successful installation)
- Detailed explanation of kubernetes (IX) -- actual combat of creating pod with resource allocation list
- setcontext getcontext makecontext swapcontext
- Baidu written test 2022.4.12 + programming topic: simple integer problem
- 自主作业智慧农场创新论坛
- MultiTimer v2 重构版本 | 一款可无限扩展的软件定时器
- YML references other variables
- tcp_ Diag kernel related implementation 1 call hierarchy
猜你喜欢

Analysis of common storage types and FTP active and passive modes

推荐搜索 常用评价指标

我的树莓派 Raspberry Pi Zero 2W 折腾笔记,记录一些遇到的问题和解决办法

Nuxt project: Global get process Env information

Mysql database explanation (VII)

T2 iCloud日历无法同步

Squid agent

群体智能自主作业智慧农场项目启动及实施方案论证会议

Openfaas practice 4: template operation

TLS / SSL protocol details (30) RSA, DHE, ecdhe and ecdh processes and differences in SSL
随机推荐
调度系统使用注意事项
On the day of entry, I cried (mushroom street was laid off and fought for seven months to win the offer)
How to use OCR in 5 minutes
推荐搜索 常用评价指标
Detailed explanation of C language knowledge points -- data types and variables [1] - carry counting system
Educational codeforces round 127 A-E problem solution
Async void caused the program to crash
8.3 language model and data set
深度学习——超参数设置
C语言超全学习路线(收藏让你少走弯路)
[thymeleaf] handle null values and use safe operators
Nacos程序连接MySQL8.0+ NullPointerException
MySQL query library size
Llvm - generate local variables
Node.js ODBC连接PostgreSQL
adobe illustrator 菜單中英文對照
TLS / SSL protocol details (30) RSA, DHE, ecdhe and ecdh processes and differences in SSL
机器学习——逻辑回归
通过 PDO ODBC 将 PHP 连接到 MSSQL
Detailed explanation of C language knowledge points -- first understanding of C language [1] - vs2022 debugging skills and code practice [1]