aerospike-client-python
aerospike-client-python copied to clipboard
Help wanted! Update in nested data
Hello to everyone,
I need help, let's say we have a bin with this structure:
{
loc' : {
EU' : {'FR' : {'Paris', 'Lyon'}},
US': { 'CA': { 'Miami'}}
},
Is it possible to update loc.EU and add for example ES: {'Madrid'}}
So we would finally get this bin structure:
{
loc' : {
EU' : {'FR' : {'Paris', 'Lyon'}, ES : {'Madrid'}},
US' : {'CA' : {'Miami'}}
},
If it is possible to do this, can someone provide a complete example?
Thanks in advance