Pgsql float[] bulkcopy

This commit is contained in:
sunkaixuan 2025-06-09 18:30:21 +08:00
parent 0c43af2095
commit 79e436dc81

View File

@ -99,6 +99,10 @@ namespace SqlSugar
{ {
result.Type = NpgsqlDbType.Array | NpgsqlDbType.Bigint; result.Type = NpgsqlDbType.Array | NpgsqlDbType.Bigint;
} }
else if (key == "_float8")
{
result.Type = NpgsqlDbType.Array | NpgsqlDbType.Double;
}
else else
{ {
var type = PgSqlType[key.Substring(1)]; var type = PgSqlType[key.Substring(1)];