How can I remove a stored value

70 views
Skip to first unread message

Khashayar Parhami

unread,
Sep 19, 2012, 11:30:20 PM9/19/12
to Amplify
Hi,
I stored values using
amplify.store("name", value)
and I' able to retrieve them , but I don't know how to remove them by
name.

Kind regards

Khash

Doug Neiner

unread,
Sep 19, 2012, 11:40:57 PM9/19/12
to ampl...@googlegroups.com
Hi Khash,

Simply call store again, with `null` as the value:

    amplify.store( "name", null );

And in this case, "name" will be removed from the store!

Doug

Khashayar Parhami

unread,
Sep 19, 2012, 11:47:40 PM9/19/12
to Amplify
Thanks it worked , thanks a lot
Reply all
Reply to author
Forward
0 new messages