Skip to content

Commit e9dedb9

Browse files
feat: add any and hstore types to NpgsqlDriver
- include any and hstore types in the object variable mapping
1 parent 8560e24 commit e9dedb9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Drivers/NpgsqlDriver.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,9 @@ public NpgsqlDriver(
361361
["object"] = new(
362362
new()
363363
{
364-
{ "anyarray", new() }
364+
{ "any", new() },
365+
{ "anyarray", new() },
366+
{ "hstore", new() }
365367
},
366368
readerFn: (ordinal, _) => $"{Variable.Reader.AsVarName()}.GetValue({ordinal})"
367369
)

0 commit comments

Comments
 (0)