Update pull

This commit is contained in:
sunkaixuan 2024-08-08 20:21:18 +08:00
parent 00e574e197
commit 6c81d39aa4
2 changed files with 2 additions and 13 deletions

View File

@ -271,18 +271,7 @@ namespace SqlSugar
}
#endregion
#region Methods
public override bool IsAnyConstraint(string constraintName)
{
string query = @"
SELECT COUNT(*)
FROM ALL_INDEXES
WHERE INDEX_NAME = @constraintName
AND OWNER = USER";
var parameters = new { constraintName = constraintName };
return this.Context.Ado.GetInt(query, parameters) > 0;
}
#region Methods
public override bool IsAnyTable(string tableName, bool isCache = true)
{
if (isCache)

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.167-preview26</version>
<version>5.1.4.167-preview29</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>