How to use RxJS, MySQL and NodeJS
问题 I need a with RxJS for MySQL in NodeJS. Could someone give me an example for one select? On front-end I will use Angular2. 回答1: In my case, I'm using the MySQL npm package in a desktop application made with Electron and Angular. However the same should work even on a plain NodeJS application by installing and importing rxjs. I've first installed mysql and @types/mysql package with: npm install --saved-dev mysql @types/mysql Then I've created a MySQL service: import { Injectable } from '