javascript - Update $key of Firebase object using AngularFire2 -
i trying update $key of object firebase database. values in object want keep untouched. tried way:
this.af.object('personalmessages/'+ firebase_uid).update({ $key: 'my custom key' })
i no error, record not updating.
the big objects looks this:
personalmessages:{ the_key_i_want_to_update: { isread: false text: "some text goes here" timestamp: 1502448955231.222 } }
Comments
Post a Comment