Idiomatic quotes
This commit is contained in:
parent
35eefdda41
commit
4718e72b6d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
// RightQuote is the quoting character for the right side of the identifier
|
||||||
func (m *MSSQLDriver) RightQuote() byte {
|
func (m *MSSQLDriver) RightQuote() byte {
|
||||||
return '"'
|
return ']'
|
||||||
}
|
}
|
||||||
|
|
||||||
// LeftQuote is the quoting character for the left side of the identifier
|
// LeftQuote is the quoting character for the left side of the identifier
|
||||||
func (m *MSSQLDriver) LeftQuote() byte {
|
func (m *MSSQLDriver) LeftQuote() byte {
|
||||||
return '"'
|
return '['
|
||||||
}
|
}
|
||||||
|
|
||||||
// IndexPlaceholders returns true to indicate MS SQL supports indexed placeholders
|
// IndexPlaceholders returns true to indicate MS SQL supports indexed placeholders
|
||||||
|
|
Loading…
Reference in a new issue