安装步骤:
#安装nodejs
pip install nodejs
#安装xmysql
npm install -g xmysql
xmysql --version
#启动数据库
xmysql -h 数据库名-u username-p password-d 表名
使用postman请求get:
http://localhost:3000/api/表名?_where=(需要查询的字段,条件字段,条件值)
http://localhost:3000/api/表名
安装步骤:
#安装nodejs
pip install nodejs
#安装xmysql
npm install -g xmysql
xmysql --version
#启动数据库
xmysql -h 数据库名-u username-p password-d 表名
使用postman请求get:
http://localhost:3000/api/表名?_where=(需要查询的字段,条件字段,条件值)
http://localhost:3000/api/表名