You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when getting the item back from Dynamo, I get
attr1: 0,
attr2: null,
I don´t see why any conversion took place for the number
But even if a conversion (null to 0) were to take place, it should have also taken place when saving the data to dynamoDB and saved 0, not NULL.
The text was updated successfully, but these errors were encountered:
lucas-subli
changed the title
Number conversion not working both ways on NULLNULL being converted to 0 when fetching data
Apr 19, 2023
lucas-subli
changed the title
NULL being converted to 0 when fetching dataNULL converted to 0 when fetching data
Apr 19, 2023
However, when getting the item back from Dynamo, I get
attr1: 0,
attr2: null,
I don´t see why any conversion took place for the number But even if a conversion (null to 0) were to take place, it should have also taken place when saving the data to dynamoDB and saved 0, not NULL.
My table is configured to NOT remove null attributes
I have two attributes defined as
Saved them both as
null
, checking on Dynamo as expected, we have:However, when getting the item back from Dynamo, I get
I don´t see why any conversion took place for the number
But even if a conversion (null to 0) were to take place, it should have also taken place when saving the data to dynamoDB and saved 0, not NULL.
The text was updated successfully, but these errors were encountered: