@@ -12,8 +12,8 @@ version: "2"
1212plugins :
1313- name : csharp
1414 wasm :
15- url : https://github.com/DaredevilOSS/sqlc-gen-csharp/releases/download/v0.21.0 /sqlc-gen-csharp.wasm
16- sha256 : 6a01b8c24418abff5d3c272dd1b4ad69f2b43939bb8866243947db3d167a079c
15+ url : https://github.com/DaredevilOSS/sqlc-gen-csharp/releases/download/v0.21.1 /sqlc-gen-csharp.wasm
16+ sha256 : f687963c30bbe2a3d4a2abe8343538f3daa1271f683580e779065285304787b9
1717sql :
1818 # For PostgresSQL
1919 - schema : schema.sql
@@ -219,8 +219,8 @@ we consider support for the different data types separately for batch inserts an
219219| tsvector | ✅ | ❌ |
220220| tsquery | ✅ | ❌ |
221221| uuid | ✅ | ✅ |
222- | json | ✅ | ⚠️ |
223- | jsonb | ✅ | ⚠️ |
222+ | json | ✅ | ✅ |
223+ | jsonb | ✅ | ✅ |
224224| jsonpath | ✅ | ⚠️ |
225225| xml | ✅ | ⚠️ |
226226| enum | ✅ | ⚠️ |
@@ -443,6 +443,14 @@ overrides:
443443 csharp_type:
444444 type: "DateTime"
445445 notNull: true
446+ - column: "GetPostgresSpecialTypesCnt:c_json"
447+ csharp_type:
448+ type: "JsonElement"
449+ notNull: false
450+ - column: "GetPostgresSpecialTypesCnt:c_jsonb"
451+ csharp_type:
452+ type: "JsonElement"
453+ notNull: false
446454- column: "*:c_json_string_override"
447455 csharp_type:
448456 type: "string"
@@ -482,6 +490,14 @@ overrides:
482490 csharp_type :
483491 type : " DateTime"
484492 notNull : true
493+ - column : " GetPostgresSpecialTypesCnt:c_json"
494+ csharp_type :
495+ type : " JsonElement"
496+ notNull : false
497+ - column : " GetPostgresSpecialTypesCnt:c_jsonb"
498+ csharp_type :
499+ type : " JsonElement"
500+ notNull : false
485501- column : " *:c_json_string_override"
486502 csharp_type :
487503 type : " string"
@@ -521,6 +537,14 @@ overrides:
521537 csharp_type:
522538 type: "DateTime"
523539 notNull: true
540+ - column: "GetPostgresSpecialTypesCnt:c_json"
541+ csharp_type:
542+ type: "JsonElement"
543+ notNull: false
544+ - column: "GetPostgresSpecialTypesCnt:c_jsonb"
545+ csharp_type:
546+ type: "JsonElement"
547+ notNull: false
524548- column: "*:c_json_string_override"
525549 csharp_type:
526550 type: "string"
@@ -560,6 +584,14 @@ overrides:
560584 csharp_type:
561585 type: "DateTime"
562586 notNull: true
587+ - column: "GetPostgresSpecialTypesCnt:c_json"
588+ csharp_type:
589+ type: "JsonElement"
590+ notNull: false
591+ - column: "GetPostgresSpecialTypesCnt:c_jsonb"
592+ csharp_type:
593+ type: "JsonElement"
594+ notNull: false
563595- column: "*:c_json_string_override"
564596 csharp_type:
565597 type: "string"
0 commit comments