Synchronization code

This commit is contained in:
sunkaixuan 2023-08-11 16:15:50 +08:00
parent a3d3b3a8ae
commit e647b2de12

View File

@ -192,7 +192,7 @@ namespace SqlSugar
{
get
{
return " Select count(1) from (SELECT to_regclass('Index_UnitCodeTest1_Id_CreateDate') as c ) t where t.c is not null";
return "SELECT count(1) WHERE upper('{0}') IN ( SELECT upper(indexname) FROM sys_indexes ) ";
}
}
protected override string IsAnyProcedureSql => throw new NotImplementedException();