Skip to content

Commit 01c4273

Browse files
authored
Fix JSON null type mapping on hotfix (#3856)
1 parent 78e671c commit 01c4273

20 files changed

Lines changed: 73 additions & 73 deletions

src/EFCore.PG/Query/Internal/NpgsqlQueryableMethodTranslatingExpressionVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ protected override bool TrySerializeScalarToJson(
14431443
private SqlExpression JsonNull(RelationalTypeMapping jsonTypeMapping)
14441444
=> new SqlUnaryExpression(
14451445
ExpressionType.Convert,
1446-
_sqlExpressionFactory.Constant("null"),
1446+
_sqlExpressionFactory.Constant("null", _typeMappingSource.FindMapping(typeof(string))),
14471447
jsonTypeMapping.ClrType,
14481448
jsonTypeMapping);
14491449

test/EFCore.PG.FunctionalTests/Query/Associations/ComplexJson/ComplexJsonBulkUpdateNpgsqlTest.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public override async Task Update_property_inside_associate()
4949
@p='?'
5050
5151
UPDATE "RootEntity" AS r
52-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{String}', to_jsonb(@p))
52+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{String}', to_jsonb(@p))
5353
""");
5454
}
5555

@@ -60,7 +60,7 @@ public override async Task Update_property_inside_associate_with_special_chars()
6060
AssertExecuteUpdateSql(
6161
"""
6262
UPDATE "RootEntity" AS r
63-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{String}', to_jsonb('{ Some other/JSON:like text though it [isn''t]: ממש ממש לאéèéè }'::text))
63+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{String}', to_jsonb('{ Some other/JSON:like text though it [isn''t]: ממש ממש לאéèéè }'::text))
6464
WHERE (r."RequiredAssociate" ->> 'String') = '{ this may/look:like JSON but it [isn''t]: ממש ממש לאéèéè }'
6565
""");
6666
}
@@ -74,7 +74,7 @@ public override async Task Update_property_inside_nested_associate()
7474
@p='?'
7575
7676
UPDATE "RootEntity" AS r
77-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{RequiredNestedAssociate,String}', to_jsonb(@p))
77+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{RequiredNestedAssociate,String}', to_jsonb(@p))
7878
""");
7979
}
8080

@@ -87,7 +87,7 @@ public override async Task Update_property_on_projected_associate()
8787
@p='?'
8888
8989
UPDATE "RootEntity" AS r
90-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{String}', to_jsonb(@p))
90+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{String}', to_jsonb(@p))
9191
""");
9292
}
9393

@@ -131,7 +131,7 @@ public override async Task Update_nested_associate_to_parameter()
131131
@complex_type_p='?' (DbType = Object)
132132
133133
UPDATE "RootEntity" AS r
134-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{RequiredNestedAssociate}', @complex_type_p)
134+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{RequiredNestedAssociate}', @complex_type_p)
135135
""");
136136
}
137137

@@ -258,7 +258,7 @@ public override async Task Update_nested_collection_to_parameter()
258258
@complex_type_p='?' (DbType = Object)
259259
260260
UPDATE "RootEntity" AS r
261-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{NestedCollection}', @complex_type_p)
261+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{NestedCollection}', @complex_type_p)
262262
""");
263263
}
264264

@@ -280,7 +280,7 @@ public override async Task Update_nested_collection_to_another_nested_collection
280280
AssertExecuteUpdateSql(
281281
"""
282282
UPDATE "RootEntity" AS r
283-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{NestedCollection}', r."OptionalAssociate" -> 'NestedCollection')
283+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{NestedCollection}', COALESCE(r."OptionalAssociate" -> 'NestedCollection', 'null'::jsonb))
284284
WHERE (r."OptionalAssociate") IS NOT NULL
285285
""");
286286
}
@@ -323,7 +323,7 @@ public override async Task Update_primitive_collection_to_parameter()
323323
@ints='?' (DbType = Object)
324324
325325
UPDATE "RootEntity" AS r
326-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{Ints}', @ints)
326+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{Ints}', @ints)
327327
""");
328328
}
329329

@@ -347,7 +347,7 @@ public override async Task Update_inside_primitive_collection()
347347
@p='?' (DbType = Int32)
348348
349349
UPDATE "RootEntity" AS r
350-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{Ints,1}', to_jsonb(@p))
350+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{Ints,1}', to_jsonb(@p))
351351
WHERE jsonb_array_length(r."RequiredAssociate" -> 'Ints') >= 2
352352
""");
353353
}
@@ -366,7 +366,7 @@ public override async Task Update_multiple_properties_inside_same_associate()
366366
@p1='?' (DbType = Int32)
367367
368368
UPDATE "RootEntity" AS r
369-
SET "RequiredAssociate" = jsonb_set_lax(jsonb_set_lax(r."RequiredAssociate", '{String}', to_jsonb(@p)), '{Int}', to_jsonb(@p1))
369+
SET "RequiredAssociate" = jsonb_set(jsonb_set(r."RequiredAssociate", '{String}', to_jsonb(@p)), '{Int}', to_jsonb(@p1))
370370
""");
371371
}
372372

@@ -380,8 +380,8 @@ public override async Task Update_multiple_properties_inside_associates_and_on_e
380380
381381
UPDATE "RootEntity" AS r
382382
SET "Name" = r."Name" || 'Modified',
383-
"RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{String}', r."OptionalAssociate" -> 'String'),
384-
"OptionalAssociate" = jsonb_set_lax(r."OptionalAssociate", '{RequiredNestedAssociate,String}', to_jsonb(@p))
383+
"RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{String}', COALESCE(r."OptionalAssociate" -> 'String', 'null'::jsonb)),
384+
"OptionalAssociate" = jsonb_set(r."OptionalAssociate", '{RequiredNestedAssociate,String}', to_jsonb(@p))
385385
WHERE (r."OptionalAssociate") IS NOT NULL
386386
""");
387387
}
@@ -395,8 +395,8 @@ public override async Task Update_multiple_projected_associates_via_anonymous_ty
395395
@p='?'
396396
397397
UPDATE "RootEntity" AS r
398-
SET "RequiredAssociate" = jsonb_set_lax(r."RequiredAssociate", '{String}', r."OptionalAssociate" -> 'String'),
399-
"OptionalAssociate" = jsonb_set_lax(r."OptionalAssociate", '{String}', to_jsonb(@p))
398+
SET "RequiredAssociate" = jsonb_set(r."RequiredAssociate", '{String}', COALESCE(r."OptionalAssociate" -> 'String', 'null'::jsonb)),
399+
"OptionalAssociate" = jsonb_set(r."OptionalAssociate", '{String}', to_jsonb(@p))
400400
WHERE (r."OptionalAssociate") IS NOT NULL
401401
""");
402402
}

test/EFCore.PG.FunctionalTests/Types/Miscellaneous/NpgsqlBoolTypeTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
5858
@Fixture_OtherValue='False'
5959
6060
UPDATE "JsonTypeEntity" AS j
61-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
61+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6262
""");
6363
}
6464

@@ -69,7 +69,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
6969
AssertSql(
7070
"""
7171
UPDATE "JsonTypeEntity" AS j
72-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(FALSE::boolean))
72+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(FALSE::boolean))
7373
""");
7474
}
7575

@@ -91,7 +91,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9191
AssertSql(
9292
"""
9393
UPDATE "JsonTypeEntity" AS j
94-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
94+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
9595
""");
9696
}
9797

test/EFCore.PG.FunctionalTests/Types/Miscellaneous/NpgsqlByteArrayTypeTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
5858
@Fixture_OtherValue='0x04050607'
5959
6060
UPDATE "JsonTypeEntity" AS j
61-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(encode(@Fixture_OtherValue, 'base64')))
61+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(encode(@Fixture_OtherValue, 'base64')))
6262
""");
6363
}
6464

@@ -69,7 +69,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
6969
AssertSql(
7070
"""
7171
UPDATE "JsonTypeEntity" AS j
72-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(encode(BYTEA E'\\x04050607', 'base64')))
72+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(encode(BYTEA E'\\x04050607', 'base64')))
7373
""");
7474
}
7575

@@ -80,7 +80,7 @@ public override async Task ExecuteUpdate_within_json_to_another_json_property()
8080
AssertSql(
8181
"""
8282
UPDATE "JsonTypeEntity" AS j
83-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(encode(decode(j."JsonContainer" ->> 'OtherValue', 'base64'), 'base64')))
83+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(to_jsonb(encode(decode(j."JsonContainer" ->> 'OtherValue', 'base64'), 'base64')), 'null'::jsonb))
8484
""");
8585
}
8686

@@ -91,7 +91,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9191
AssertSql(
9292
"""
9393
UPDATE "JsonTypeEntity" AS j
94-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(encode(j."OtherValue", 'base64')))
94+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(to_jsonb(encode(j."OtherValue", 'base64')), 'null'::jsonb))
9595
""");
9696
}
9797

test/EFCore.PG.FunctionalTests/Types/Miscellaneous/NpgsqlGuidTypeTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
5858
@Fixture_OtherValue='ae192c36-9004-49b2-b785-8be10d169627'
5959
6060
UPDATE "JsonTypeEntity" AS j
61-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
61+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6262
""");
6363
}
6464

@@ -69,7 +69,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
6969
AssertSql(
7070
"""
7171
UPDATE "JsonTypeEntity" AS j
72-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb('ae192c36-9004-49b2-b785-8be10d169627'::uuid))
72+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb('ae192c36-9004-49b2-b785-8be10d169627'::uuid))
7373
""");
7474
}
7575

@@ -91,7 +91,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9191
AssertSql(
9292
"""
9393
UPDATE "JsonTypeEntity" AS j
94-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
94+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
9595
""");
9696
}
9797

test/EFCore.PG.FunctionalTests/Types/Miscellaneous/NpgsqlStringTypeTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
5858
@Fixture_OtherValue='bar'
5959
6060
UPDATE "JsonTypeEntity" AS j
61-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
61+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6262
""");
6363
}
6464

@@ -69,7 +69,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
6969
AssertSql(
7070
"""
7171
UPDATE "JsonTypeEntity" AS j
72-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb('bar'::text))
72+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb('bar'::text))
7373
""");
7474
}
7575

@@ -80,7 +80,7 @@ public override async Task ExecuteUpdate_within_json_to_another_json_property()
8080
AssertSql(
8181
"""
8282
UPDATE "JsonTypeEntity" AS j
83-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', j."JsonContainer" -> 'OtherValue')
83+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(j."JsonContainer" -> 'OtherValue', 'null'::jsonb))
8484
""");
8585
}
8686

@@ -91,7 +91,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9191
AssertSql(
9292
"""
9393
UPDATE "JsonTypeEntity" AS j
94-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
94+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(to_jsonb(j."OtherValue"), 'null'::jsonb))
9595
""");
9696
}
9797

test/EFCore.PG.FunctionalTests/Types/Networking/NpgsqlInetTypeTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
6060
@Fixture_OtherValue='192.168.1.2' (DbType = Object)
6161
6262
UPDATE "JsonTypeEntity" AS j
63-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
63+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6464
""");
6565
}
6666

@@ -71,7 +71,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
7171
AssertSql(
7272
"""
7373
UPDATE "JsonTypeEntity" AS j
74-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(INET '192.168.1.2'::inet))
74+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(INET '192.168.1.2'::inet))
7575
""");
7676
}
7777

@@ -82,7 +82,7 @@ public override async Task ExecuteUpdate_within_json_to_another_json_property()
8282
AssertSql(
8383
"""
8484
UPDATE "JsonTypeEntity" AS j
85-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', j."JsonContainer" -> 'OtherValue')
85+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(j."JsonContainer" -> 'OtherValue', 'null'::jsonb))
8686
""");
8787
}
8888

@@ -93,7 +93,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9393
AssertSql(
9494
"""
9595
UPDATE "JsonTypeEntity" AS j
96-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
96+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(to_jsonb(j."OtherValue"), 'null'::jsonb))
9797
""");
9898
}
9999

test/EFCore.PG.FunctionalTests/Types/Networking/NpgsqlMacaddrTypeTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
6060
@Fixture_OtherValue='001422012346' (DbType = Object)
6161
6262
UPDATE "JsonTypeEntity" AS j
63-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
63+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6464
""");
6565
}
6666

@@ -71,7 +71,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
7171
AssertSql(
7272
"""
7373
UPDATE "JsonTypeEntity" AS j
74-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(MACADDR '001422012346'::macaddr))
74+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(MACADDR '001422012346'::macaddr))
7575
""");
7676
}
7777

@@ -82,7 +82,7 @@ public override async Task ExecuteUpdate_within_json_to_another_json_property()
8282
AssertSql(
8383
"""
8484
UPDATE "JsonTypeEntity" AS j
85-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', j."JsonContainer" -> 'OtherValue')
85+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(j."JsonContainer" -> 'OtherValue', 'null'::jsonb))
8686
""");
8787
}
8888

@@ -93,7 +93,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9393
AssertSql(
9494
"""
9595
UPDATE "JsonTypeEntity" AS j
96-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
96+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', COALESCE(to_jsonb(j."OtherValue"), 'null'::jsonb))
9797
""");
9898
}
9999

test/EFCore.PG.FunctionalTests/Types/Numeric/NpgsqlDecimalTypeTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
5858
@Fixture_OtherValue='30'
5959
6060
UPDATE "JsonTypeEntity" AS j
61-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
61+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6262
""");
6363
}
6464

@@ -69,7 +69,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
6969
AssertSql(
7070
"""
7171
UPDATE "JsonTypeEntity" AS j
72-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(30.0::numeric))
72+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(30.0::numeric))
7373
""");
7474
}
7575

@@ -91,7 +91,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9191
AssertSql(
9292
"""
9393
UPDATE "JsonTypeEntity" AS j
94-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
94+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
9595
""");
9696
}
9797

test/EFCore.PG.FunctionalTests/Types/Numeric/NpgsqlDoubleTypeTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public override async Task ExecuteUpdate_within_json_to_parameter()
5858
@Fixture_OtherValue='30'
5959
6060
UPDATE "JsonTypeEntity" AS j
61-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
61+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(@Fixture_OtherValue))
6262
""");
6363
}
6464

@@ -69,7 +69,7 @@ public override async Task ExecuteUpdate_within_json_to_constant()
6969
AssertSql(
7070
"""
7171
UPDATE "JsonTypeEntity" AS j
72-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(30.0::double precision))
72+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(30.0::double precision))
7373
""");
7474
}
7575

@@ -91,7 +91,7 @@ public override async Task ExecuteUpdate_within_json_to_nonjson_column()
9191
AssertSql(
9292
"""
9393
UPDATE "JsonTypeEntity" AS j
94-
SET "JsonContainer" = jsonb_set_lax(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
94+
SET "JsonContainer" = jsonb_set(j."JsonContainer", '{Value}', to_jsonb(j."OtherValue"))
9595
""");
9696
}
9797

0 commit comments

Comments
 (0)