Skip to content

Commit cfe0e80

Browse files
Merge pull request #1 from ballistic-booger/type-fallback-instead-of-throwing
feat: add any and hstore types to NpgsqlDriver
2 parents 76070c9 + ad65b70 commit cfe0e80

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)