mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update Oracle GetIndexList
This commit is contained in:
parent
57d7b1d8f7
commit
634a7146e4
@ -355,7 +355,7 @@ WHERE table_name = '"+tableName+"'");
|
||||
public override List<string> GetIndexList(string tableName)
|
||||
{
|
||||
var sql = $"SELECT index_name FROM user_ind_columns\r\nWHERE upper(table_name) = upper('{tableName}')";
|
||||
return this.Context.Ado.SqlQuery<string>(sql);
|
||||
return this.Context.Ado.SqlQuery<string>(sql).Distinct().ToList();
|
||||
}
|
||||
public override List<string> GetProcList(string dbName)
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.4.167-preview11</version>
|
||||
<version>5.1.4.167-preview24</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user