Skip to content

Commit 0a688ee

Browse files
authored
docs: add any and hstore PostgreSQL types to supported data types table (#429)
1 parent 8f8bc8b commit 0a688ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/04_Postgres.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ we consider support for the different data types separately for batch inserts an
6767
| jsonpath || ⚠️ |
6868
| xml || ⚠️ |
6969
| enum || ⚠️ |
70+
| any |||
71+
| hstore |||
7072

7173
*** `time with time zone` is not useful and not recommended to use by Postgres themselves -
7274
see [here](https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-DATETIME) -
@@ -84,5 +86,8 @@ An example of this conversion:
8486
INSERT INTO tab1 (macaddr8_field) VALUES (sqlc.narg('macaddr8_field')::macaddr8);
8587
```
8688

89+
*** `any` is a pseudo-type reported by sqlc when it cannot infer a column's type; it maps to `object` in C#.
90+
*** `hstore` is a key-value store type that maps to `object` in C#; readers use `GetValue()` to retrieve the value.
91+
8792
</details>
8893

0 commit comments

Comments
 (0)