当前位置:网站首页>在线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 执行查询接口(不提供后台实现,使用者可自定义)

一些截图:



边栏推荐
- misc-log analysis of CTF
- C#中使用OleDb操作access数据库
- [Mozhe Academy] Identity Authentication Failure Vulnerability Actual Combat
- npm run serve starts error npm ERR Missing script "serve"
- C#下大批量一键空投实现
- [Net Ding Cup 2020 Qinglong Group] AreUSerialz
- FastAPI Quick Start
- 事件高级:事件的绑定及取消、DOM事件流、事件委托
- 【SQL】SQL 高频面试题英语版(1)
- Application Practice | Application Practice of Apache Doris in Baidu Intelligent Cloud Billing System
猜你喜欢

Flink CDC 实现Postgres到MySQL流式加工传输案例

art-template模板引擎过滤器的使用【入门简单使用篇】

记一次Mailpress插件RCE漏洞复现

node手写服务器实现访问index页面

FastAPI Quick Start

【OS】操作系统高频面试题英文版(1)

uni-app installs components using npm commands

uni-app:uni-icons的使用及如何自定义图标

Connect to Mysql in the cloud server Docker detailed graphic and text operations (full)

FastAPI 快速入门
随机推荐
FastAPI 快速入门
CTF之misc-文件隐写
C#中对委托的理解和使用
Application Practice | Application Practice of Apache Doris in Baidu Intelligent Cloud Billing System
jsonpath
PHP-fpm
P3 元宝第七单元笔记
MySQL-Explain详解
sqli-labs less3/4 Targeting Notes
运算符和交互基础
复习 redux 总结
中间件cors三行代码解决跨域问题GET,POST跨域访问解决
jsonpath
3分钟告诉你如何成为一名黑客|零基础到黑客入门指南,你只需要掌握这五点能力
torch distributed training
npm run serve starts error npm ERR Missing script "serve"
在弹性布局flex布局中,行内标签也能直接加宽高
Operators and Interaction Basics
FastAPI Quick Start
Briefly describe SSRF