当前位置:网站首页>在线sql编辑查询工具sql-editor
在线sql编辑查询工具sql-editor
2022-07-30 05:42:00 【维之】
sql-editor是基于CodeMirror的一个在线sql编辑工具,模仿navicat工具,开发的一个简易版。
目前只提供前端代码,测试数据为json模拟数据。之前利用easy-mock进行外网接口提供,现在更改为本地Nginx代理。
Github地址: https://github.com/xiweile/sql-editor
gitee地址: https://gitee.com/xiweile/sql-editor
功能更新
- 梳理本地表结构接口数据,已经表、字段名、关键字接口数据,由代理方式提供。(2020-4-15更改)
- 左侧提供数据库表字段树形结构,可拖拽到sql编辑框。(2019-7-19新增)
- 编辑区和数据展示区上下拖动更改大小。(2019-7-19新增)
- 执行与中断功能。(2019-7-19新增)
- 自定义外部接口获取sql关键词、函数、表字段等,用于sql编辑时提示补全,键盘录入后自动提示,上下键选择,tab键或点击选中项自动补全。(2019-7-16)
- sql格式化。(2019-7-16)
启动步骤:
1.启动nginx代理,进入目录 ./nginx-1.16.0/,打开命令行工具,执行一下命令:
#启动
start ./nginx.exe
#停止
./nginx.exe -s stop
2.浏览器访问。地址:http://localhost:8080/sql-editor/index.html
接口
- 关键词接口

- 左侧表,树结构接口

- sql 执行查询接口(不提供后台实现,使用者可自定义)

一些截图:



边栏推荐
猜你喜欢
随机推荐
使用PyQt5为YoloV5添加界面(一)
Dcat Admin installation
c#下Web3合约空投、转账调用代码
【小程序项目开发-- 京东商城】uni-app之分类导航区域
连接云服务器Docker中的Mysql 详细图文操作(全)
BaseDAO的抽取
torch分布式训练
简述SSRF
FastAPI Quick Start
【问题解决】在写CSDN博客时,如何对段落进行首行缩进?
【SQL】SQL 高频面试题英语版(1)
JDBC programming of MySQL database
复习 redux 总结
Arrays工具类的使用
TypeError The view function did not return a valid response. The function either returned None 的解决
【文献阅读】Age Progress/Regression by Conditional Adversarial Autoencoder 基于条件对抗自编码器(CAAE)的老化/去龄化方案
[Mozhe Academy] Identity Authentication Failure Vulnerability Actual Combat
Connect to Mysql in the cloud server Docker detailed graphic and text operations (full)
五月份比赛WP
Application Practice | Application Practice of Apache Doris in Baidu Intelligent Cloud Billing System





