gen icon indicating copy to clipboard operation
gen copied to clipboard

Can't generate association tags for the dao through the gentool.

Open TsubasaEX opened this issue 1 year ago • 0 comments

Description

I found there are use cases for the associations between two or more models, but I can get those associations and the association tags for the generated dao through the gentool. https://gorm.io/gen/associations.html

image

Seems like there's no option to get the association tags. https://gorm.io/gen/gen_tool.html

Here's one of the foreign keys in my generated dao model to another dao model. image

Do I miss something here? Could you provide any suggestion?

Thanks in advance.

TsubasaEX avatar Jun 14 '24 09:06 TsubasaEX