当我调试我的程序时,我在底部有许多大型SQL查询作为输出,并对它们进行分析。是否可以将查询样式设置为:
SELECT * FROM users LEFT JOIN profile ON users.id = profile.id WHERE user_id = 2 to
SELECT * FROM users
LEFT JOIN profile
ON users.id = profile.id
WHERE user_id = 2
这样就更容易跟踪查询了吗?没有很多PHP代码,我还能做些什么吗?或者可能有jQuery插件呢?
我有下面的OCaml程序打开Js
let lex s = Compiler.Parse_js.lexer_from_file s
let parse s = lex s |> Compiler.Parse_js.parse
let buffer_pp program =
let buf = Buffer.create 10 in
let pp = Compiler.Pretty_print.to_buffer buf in
Compiler.Js_output.program pp program;
Buffer.contents buf |> print_en
我正在尝试安装一个附加组件来清理我的PHP,名为Atom beautify。
每次我运行这个插件来让我的PHP文件变得漂亮(Atom Beautify)时,我都会得到这样的结果:
Error: spawn EACCES
at exports._errnoException (util.js:1026:11)
at ChildProcess.spawn (internal/child_process.js:313:11)
at exports.spawn (child_process.js:392:9)
at /Users/myusername/.atom/packages/atom-beaut
我已经安装了原子美化包,我收到了这样的通知:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.4.0
gyp info using node@6.9.5 | win32 | x64
gyp http GET https://atom.io/download/electron/v2.0.5/iojs-v2.0.5.tar.gz
gyp http 200 https://atom.io/download/electron/v2.0.5/iojs-v2.0.5.tar.gz
gyp WARN install got an