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