用于SQL模式到Korma实体的代码生成工具
发布时间:2020-05-23 08:28:38 所属栏目:MsSql 来源:互联网
导读:有没有可以将SQL模式转换为 Korma个实体的工具? 还没有,但您可以询问DBMS的数据字典,以便您开始使用. 例如,在MySQL上,您可以从以下开始: select concat((defentity , t.table_name ,)) as defentity from information_schema.tables t where table_schema =
|
有没有可以将SQL模式转换为 Korma个实体的工具? 解决方法还没有,但您可以询问DBMS的数据字典,以便您开始使用.例如,在MySQL上,您可以从以下开始: select concat('(defentity ',t.table_name,')') as defentity
from information_schema.tables t
where table_schema = 'mySchema'; (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
