Allow UseLastInsertID
This commit is contained in:
parent
49d052af53
commit
a508530f63
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ func (m *MSSQLDriver) Close() {
|
||||||
|
|
||||||
// UseLastInsertID returns false for mssql
|
// UseLastInsertID returns false for mssql
|
||||||
func (m *MSSQLDriver) UseLastInsertID() bool {
|
func (m *MSSQLDriver) UseLastInsertID() bool {
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// UseTopClause returns true to indicate MS SQL supports SQL TOP clause
|
// UseTopClause returns true to indicate MS SQL supports SQL TOP clause
|
||||||
|
|
Loading…
Add table
Reference in a new issue