mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
PGSQL Update range bool bug
This commit is contained in:
@@ -136,7 +136,9 @@ namespace SqlSugar
|
|||||||
typeName = "long";
|
typeName = "long";
|
||||||
if (typeName == "int16")
|
if (typeName == "int16")
|
||||||
typeName = "short";
|
typeName = "short";
|
||||||
|
if (typeName == "boolean")
|
||||||
|
typeName = "bool";
|
||||||
|
|
||||||
var isAnyType = PostgreSQLDbBind.MappingTypesConst.Where(x => x.Value.ToString().ToLower() == typeName).Any();
|
var isAnyType = PostgreSQLDbBind.MappingTypesConst.Where(x => x.Value.ToString().ToLower() == typeName).Any();
|
||||||
if (isAnyType)
|
if (isAnyType)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user