gorm icon indicating copy to clipboard operation
gorm copied to clipboard

Proper MSSQL Support for multiple foreign keys in defining relationships

Open Roldification opened this issue 1 year ago • 2 comments

MSSQL support for multiple foreign keys (composite keys).

GORM Syntax for multiple foreign keys generates a SQL Statement, but the query statement generated doesn't work for MSSQL 2017 (probably in all other MSSQL version also)

GORM is really a powerful ORM, and I believe many more would adopt this if it will also have full support for MSSQL.

Related Issues

(https://github.com/go-gorm/gorm/issues/5965)

Roldification avatar Jul 03 '23 02:07 Roldification