sqlserver
sqlserver copied to clipboard
fix: GetIndexes method returns zero values
due to the mismatch between the Index struct field order and the indexSQL field order
- [x] Do only one thing
- [x] Non breaking API changes
- [x] Tested
What did this pull request do?
@jinzhu Fix the issue where the GetIndexes method returns zero values due to the inconsistency between the Index structure and the order of fields in the indexSQL field.
User Case Description
Retrieve the primary key, unique constraint, or ordinary index information for the table structure corresponding to the specified model.