Add quote dialects
This commit is contained in:
parent
817189fbfd
commit
9e6a3d5ee3
9 changed files with 109 additions and 9 deletions
bdb/drivers
|
@ -340,3 +340,18 @@ func psqlIsValidated(typ string) bool {
|
|||
|
||||
return false
|
||||
}
|
||||
|
||||
// RightQuote is the quoting character for the right side of the identifier
|
||||
func (p *PostgresDriver) RightQuote() string {
|
||||
return `"`
|
||||
}
|
||||
|
||||
// LeftQuote is the quoting character for the left side of the identifier
|
||||
func (p *PostgresDriver) LeftQuote() string {
|
||||
return `"`
|
||||
}
|
||||
|
||||
// IndexPlaceholders returns true to indicate PSQL supports indexed placeholders
|
||||
func (p *PostgresDriver) IndexPlaceholders() bool {
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue