Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增加对XORM的支持 #5

Open
chennqqi opened this issue May 17, 2020 · 5 comments
Open

建议增加对XORM的支持 #5

chennqqi opened this issue May 17, 2020 · 5 comments

Comments

@chennqqi
Copy link

No description provided.

@yezihack
Copy link
Owner

yezihack commented Jun 1, 2020

我这是生成原生的SQL查询. 你的意思是生成这样实体的格式吗?

type User struct {
    Id   int64
    Name string  `xorm:"varchar(25) notnull unique 'usr_name'"`
}

@chennqqi
Copy link
Author

chennqqi commented Jun 3, 2020

是的

@yezihack
Copy link
Owner

yezihack commented Jun 9, 2020

是的

好的, 下一个版本,增加, 非常感谢支持.

@kotlin2018
Copy link

这个代码生成器理论上不光支持 Mysql,也支持其他 SQL数据库对么,我看源码里都是基于 Golang database/sql原生接口实现的。

@yezihack
Copy link
Owner

这个代码生成器理论上不光支持 Mysql,也支持其他 SQL数据库对么,我看源码里都是基于 Golang database/sql原生接口实现的。

目前只支持 MySQL,水平有限。还希望有人一起参与开发。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants