Skip to content

879479119/rock-ql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

她是谁

  • 是一个visual query-builder
  • 是一个parser + generator
  • DSL代码样例
SELECT COUNT
 FROM ID 233
  WHERE
    (
      USER DO ID 1 TO ID 2 COMMENT `报表名字` RANGE 123 UNTIL 456
      OR 
      USER DO ID 13 TO ID 23 RANGE `2134123` UNTIL `23432434`
      )
    AND (
     USER DO ID 4 TO ID 5 
     OR USER DO ID 7 TO ID 8
     OR TOPIC DO ID 7 TO ID 8
     OR ( TOPIC DO ID 7 TO ID 8 AND TOPIC DO ID 7 TO ID 8 )
    )

设计

  • 由于进行可视化构建时,很容易出现操作失误,需要有能回滚的功能