Upddate QuestDb

This commit is contained in:
sunkaixuan
2022-08-15 12:51:15 +08:00
parent 92a5dc49ca
commit 0136b2a8e1

View File

@@ -284,15 +284,16 @@ namespace SqlSugar
} }
public override bool AddColumnRemark(string columnName, string tableName, string description) public override bool AddColumnRemark(string columnName, string tableName, string description)
{ {
tableName = this.SqlBuilder.GetTranslationTableName(tableName); //tableName = this.SqlBuilder.GetTranslationTableName(tableName);
string sql = string.Format(this.AddColumnRemarkSql, columnName, tableName, description); //string sql = string.Format(this.AddColumnRemarkSql, columnName, tableName, description);
this.Context.Ado.ExecuteCommand(sql); //this.Context.Ado.ExecuteCommand(sql);
return true; return true;
} }
public override bool AddTableRemark(string tableName, string description) public override bool AddTableRemark(string tableName, string description)
{ {
tableName = this.SqlBuilder.GetTranslationTableName(tableName); //tableName = this.SqlBuilder.GetTranslationTableName(tableName);
return base.AddTableRemark(tableName, description); //return base.AddTableRemark(tableName, description);
return true;
} }
public override bool UpdateColumn(string tableName, DbColumnInfo columnInfo) public override bool UpdateColumn(string tableName, DbColumnInfo columnInfo)
{ {