MySQL 你如何在 Sequel Pro 中执行查询?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33845095/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do you execute a query in Sequel Pro?
提问by Nu?ito de la Calzada
回答by Bernd Buffen
Use ?+Rto execute the selected Query.
使用?+R执行选定的查询。
Alternatively, use the dropdown that appears at the bottom right of the query editor and select Run Current
or Run Previous
depending on where your text cursor is.
或者,使用出现在查询编辑器右下角的下拉菜单,然后根据文本光标所在的位置选择Run Current
或Run Previous
。
回答by Lukasz Szozda
Based on Keyboard Shortcuts:
基于键盘快捷键:
Run all queries??R
运行所有查询??R
Run current query or selection?or ?R
运行当前查询或选择?或?R
回答by David
Use the drop down button on the right side, underneath the textarea.
使用右侧文本区域下方的下拉按钮。
Should have the following options:
应该有以下选项:
- Run Current Query
- Run All Queries
- 运行当前查询
- 运行所有查询
回答by Tyler Christian
Came here to find ? + return to execute a query (like MySQL Workbench).
来这里找?+ return 执行查询(如 MySQL Workbench)。
Found that I can map using mac Key bindings with the names of Run Current Query
and Run Previous Query
.
发现我可以使用名称为Run Current Query
和 的mac Key 绑定进行映射Run Previous Query
。
If you want to do it via terminal it would be (untested):
如果您想通过终端执行此操作,它将是(未经测试):
defaults write com.sequelpro.SequelPro NSUserKeyEquivalents '{
"Run Current Query" = "@\U21a9";
"Run Previous Query" = "@\U21a9";
}'
Note: you may have to restart the app.
注意:您可能需要重新启动应用程序。