Synchronization code

This commit is contained in:
sunkaixuan
2022-11-14 20:01:37 +08:00
parent 0ffc5a4b9a
commit c573ba8d09

View File

@@ -201,7 +201,7 @@ namespace SqlSugar
{
get
{
return " Select count(1) from (SELECT to_regclass('{0}') as c ) t where t.c is not null";
return " SELECT count(1) WHERE upper('{0}') IN ( SELECT upper(indexname) FROM pg_indexes )";
}
}