mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update pgsql
This commit is contained in:
@@ -172,6 +172,10 @@ namespace SqlSugar
|
||||
dbType = "varchar";
|
||||
}
|
||||
}
|
||||
if(it?.PropertyType?.FullName == "NetTopologySuite.Geometries.Geometry")
|
||||
{
|
||||
return string.Format(" {0} ", base.GetDbColumn(it, FormatValue(it.Value, it.DbColumnName, i + (pageIndex - 1) * 100000, it)), dbType);
|
||||
}
|
||||
return string.Format("CAST({0} AS {1})", base.GetDbColumn(it,FormatValue(it.Value,it.DbColumnName,i+(pageIndex-1)*100000,it)), dbType);
|
||||
|
||||
})) + ")");
|
||||
|
Reference in New Issue
Block a user