Allow MS SQL driver to use indexed placeholders
This commit is contained in:
parent
aa01f21b5c
commit
e3254c1851
1 changed files with 2 additions and 2 deletions
|
@ -355,7 +355,7 @@ func (m *MSSQLDriver) LeftQuote() byte {
|
||||||
return '"'
|
return '"'
|
||||||
}
|
}
|
||||||
|
|
||||||
// IndexPlaceholders returns false to indicate MS SQL doesnt support indexed placeholders
|
// IndexPlaceholders returns true to indicate MS SQL supports indexed placeholders
|
||||||
func (m *MSSQLDriver) IndexPlaceholders() bool {
|
func (m *MSSQLDriver) IndexPlaceholders() bool {
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue