PGSQL Update range bool bug

This commit is contained in:
sunkaixuna
2021-06-18 17:53:00 +08:00
parent 2f416c69ff
commit 0f4b2692b0

View File

@@ -136,6 +136,8 @@ namespace SqlSugar
typeName = "long";
if (typeName == "int16")
typeName = "short";
if (typeName == "boolean")
typeName = "bool";
var isAnyType = PostgreSQLDbBind.MappingTypesConst.Where(x => x.Value.ToString().ToLower() == typeName).Any();
if (isAnyType)