16 lines
451 B
Markdown
16 lines
451 B
Markdown
# luwak
|
||
|
||
思路:
|
||
|
||
用户创建一张表后,将表名以及所有字段都上传到redis里,在api—gateway去获取表的信息
|
||
|
||
luwak负责注册一系列http接口
|
||
|
||
SELECT:/{table}/select/{field1}=value1?{field2}=value2
|
||
UPDATE:/{table}/update/{field1}=value1?{field2}=value2
|
||
DELETE:/{table}/delete/{field1}=value1?{field2}=value2
|
||
INSERT:/{table}/insert/{field1}=value1?{field2}=value2
|
||
|
||
|
||
FAQ: 如何获取用户的MYSQL连接信息?
|