2020年5月3日

摘要: 这里主要记下querystring模块的使用方法。 querystring从字面上的意思就是查询字符串,一般是对http请求所带的数据进行解析。querystring模块只提供4个方法,在我看来,这4个方法是相对应的。 这4个方法分别是querystring.parse和querystring.st 阅读全文
posted @ 2020-05-03 13:10 完美前端 阅读(826) 评论(0) 推荐(0)
摘要: 完整的代码, 可以复制引用 安装node的mongodb https://www.npmjs.com/package/mongodb const MongoClient = require('mongodb').MongoClient; const assert = require('assert' 阅读全文
posted @ 2020-05-03 11:18 完美前端 阅读(818) 评论(0) 推荐(0)

导航