示例#1
0
func (this *GenericTranslator) ColumnName(column *db.Column) string {
	return column.GetName()
}
示例#2
0
func (this *FirebirdSQLTranslator) ColumnName(column *db.Column) string {
	return "\"" + strings.ToUpper(column.GetName()) + "\""
}
示例#3
0
func (this *OracleTranslator) ColumnName(column *db.Column) string {
	return "\"" + strings.ToUpper(column.GetName()) + "\""
}
示例#4
0
func (this *MySQL5Translator) ColumnName(column *db.Column) string {
	return "`" + strings.ToUpper(column.GetName()) + "`"
}
示例#5
0
func (this *PostgreSQLTranslator) ColumnName(column *db.Column) string {
	return strings.ToLower(column.GetName())
}