Informix - Problem description
Problem IT37522 | Status: Closed |
BSON_UPDATE() WITH UPDATE_DOC PARAMETER SET TO EMPTY JSON DOCUMENT '{ }' REMOVES ALL ENTRIES FROM BSON DOCUMENT | |
product: | |
INFORMIX SERVER / 5725A3900 / E10 - | |
Problem description: | |
select bson_value::JSON as initial, bson_update_value::JSON as updated, bson_update_empty_set::JSON as updated_empy_set FROM ( select data as bson_value, bson_update(data, '{}') as bson_update_value, bson_update(data, '{$set:{}}') as bson_update_empty_set from ( select '{"test":"value"}'::JSON as data FROM systables where tabid = 1)) initial {"test":"value"} updated {} updated_empy_set {"test":"value"} Expected woule be that all three values contain the '{"test":"value"}' object. | |
Problem Summary: | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 07.07.2021 10.10.2022 10.10.2022 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |