I am about to set a database and I will have to update it manually by uploading a json file. But unfortunately, manual updates delate and replace data.
So I am wondering... If I set an eventlistener on a key of the database, will it be triggered everytime I update the databse ? Or, will it be smart enough to detect a difference from the previous update ?
Example:
From the update sequence below, if I set an eventlistener on "Key1", which one will trigger the listener ?
Starting point: { "Key1": [ { "data1":"value1", "data2":"value2" } ] }
1st Update: { "Key1": [ { "data1":"value1", "data2":"value2" } ] }
2nd Update: { "Key1": [ { "data1":"value1", "data2":"value2", "data3":"value3" } ] }
3rd Update: { "Key1": [ { "data1":"value1", "data3":"value3" } ] }
Thanks