Sql 转 ElasticSearch 语句的 Go 语言在线工具

miaogaolin · · 1225 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
[工具地址:https://printlove.cn/tools/sql2es/](https://printlove.cn/tools/sql2es/) ## 功能 - [x] sql and expression - [x] sql or expression - [x] equal(=) support - [x] not equal(!=) support - [x] gt(>) support - [x] gte(>=) support - [x] lt(<) support - [x] lte(<=) support - [x] sql in (eg. id in (1,2,3) ) expression - [x] sql not in (eg. id not in (1,2,3) ) expression - [x] paren bool support (eg. where (a=1 or b=1) and (c=1 or d=1)) - [x] sql like expression (currently use match phrase, perhaps will change to wildcard in the future) - [x] sql order by support - [x] sql limit support - [x] sql not like expression - [x] field missing check - [x] support aggregation like count(\*), count(field), min(field), max(field), avg(field) - [x] support aggregation like stats(field), extended_stats(field), percentiles(field) which are not standard sql function - [ ] null check expression(is null/is not null) - [ ] join expression - [ ] having support ## 截图 ![Snipaste_2021-11-20_11-31-40.jpg](https://static.studygolang.com/211120/2b2bba19d4913db65cab552a7d83afa5.jpg)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

1225 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传