Idiomatic quotes

This commit is contained in:
Sergey Kurt 2017-03-16 11:43:51 +03:00
parent 35eefdda41
commit 4718e72b6d

View file

@ -354,12 +354,12 @@ func (m *MSSQLDriver) TranslateColumnType(c bdb.Column) bdb.Column {
// RightQuote is the quoting character for the right side of the identifier
func (m *MSSQLDriver) RightQuote() byte {
return '"'
return ']'
}
// LeftQuote is the quoting character for the left side of the identifier
func (m *MSSQLDriver) LeftQuote() byte {
return '"'
return '['
}
// IndexPlaceholders returns true to indicate MS SQL supports indexed placeholders