说明:CRUD API
Postgres安装(在终端中)
酿造更新
brew安装postgresql
Postgres命令(在终端中)
pg_ctl -D / usr / local / var / postgres / start:启动数据库
pg_ctl -D / usr / local / var / postgres / stop:停止数据库
createdb test:创建名为test的数据库
数据模拟生成和数据库加载脚本命令
npm run csv-load:生成1000万条记录到名为
<weixin_42133753> 上传 | 大小:19kb