Allow MS SQL driver to use indexed placeholders

This commit is contained in:
Sergey Kurt 2017-03-14 14:01:53 +03:00
parent aa01f21b5c
commit e3254c1851

View file

@ -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
} }