docs: [ci skip] add desc for postgres.
This commit is contained in:
parent
ed84bb2b2c
commit
bd2e83b38d
|
@ -547,6 +547,8 @@ func (engine *Engine) tableName(beanOrTableName interface{}) (string, error) {
|
|||
}
|
||||
|
||||
func (engine *Engine) tbSchemaName(v string) string {
|
||||
// Add schema name as prefix of table name.
|
||||
// Only for postgres database.
|
||||
if engine.dialect.DBType() == core.POSTGRES &&
|
||||
engine.dialect.URI().Schema != "" &&
|
||||
engine.dialect.URI().Schema != DefaultPostgresSchema &&
|
||||
|
|
Loading…
Reference in New Issue