The problem of duplicate query fields of linked table in ORM framework xorm of go language

when using xorm to query Join join tables, because both tables have Id fields and other fields, the official website needs to add anonymous references if they repeat:

clipboard.png

:

clipboard.png

GoogleGO

:

clipboard.png

clipboard.png

xorm

:

clipboard.png

removed the first structure and wrote two heavy fields.

I don"t know what better way to do it.

Mar.18,2021

I have encountered the same problem. How did you solve it in the end?

Menu