You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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](https://private-user-images.githubusercontent.com/34151841/339707864-c6bb915d-71e7-45b1-bc02-dff25de4f262.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDQwMDQsIm5iZiI6MTczOTM0MzcwNCwicGF0aCI6Ii8zNDE1MTg0MS8zMzk3MDc4NjQtYzZiYjkxNWQtNzFlNy00NWIxLWJjMDItZGZmMjVkZTRmMjYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA3MDE0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmZjkyZTExZmZjOWY5NDQwY2RhYjY5ODNiODFhNDQ3MWI3MTBkMTIwMWY5ODdkNGRmMzBiNjNjNTAzZTA4NmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ewXt8Al3QKyfHGrfs0zuOKoXpWHl7OdVtjmwrCXLMD8)
Do I miss something here? Could you provide any suggestion?
Thanks in advance.
The text was updated successfully, but these errors were encountered: