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
When using putItem or batchPutItem empty strings are not written to SDB. These writes do not seem to be included in the API request, maybe because "" == false somewhere.
To replicate:
varSimpleDb=require('simpledb');varsdb=newSimpleDb.SimpleDB({keyid: 'keyid',secret: 'secret'});varfPutGet=function(inItemName,inValue){// Write the item to SDB and read it backsdb.putItem('testDomain',inItemName,{'someAttribute': inValue},function(inError,inResult,inMeta){console.log('putItem done ('+inItemName+':'+inValue+'), error:',inError);sdb.getItem('testDomain',inItemName,function(inError,inResult,inMeta){console.log('getItem done ('+inItemName+':'+inValue+'), result:',inResult);});});}sdb.createDomain('testDomain',function(){console.log('createDomain done');fPutGet('item1','not empty');fPutGet('item2','');});
The text was updated successfully, but these errors were encountered:
When using putItem or batchPutItem empty strings are not written to SDB. These writes do not seem to be included in the API request, maybe because "" == false somewhere.
To replicate:
The text was updated successfully, but these errors were encountered: