摘要:
path模块提供了一些工具函数,用于处理目录的路径。 1.获取路径的扩展名 var extname = require('path').extname 2.通过当前目录获取想要的目录,用relative函数。 var path = require("path"); function test(){ 阅读全文
摘要:
1.MySQL 中 You can't specify target table '表名' for update in FROM clause错误解决办法 原因是不能先select出同一表中的某些值,再update这个表(在同一语句中)。即不能依据某字段值做判断再来更新某字段的值。 问题解决:将SE 阅读全文