-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I remove specific value from persist? #44
Comments
Hello, @changdongchun! 특정 값 삭제는 위와 같이 null 지정을 통해 가능합니다. |
현재 |
오브젝트 저장시에는 해당 오브젝트의 레퍼런스를 저장하고 있는 것이므로, |
안녕하세요. persist.set("key.subkey.subkey", undefined); 을 하시면 object의 특정 키를 지우실 수 있습니다. |
우선
와 같이 get을 한다음 배열을 빼고 set을 했는데요 알려주신 방식으로도 한번 테스트 해보겠습니다. 감사합니다. |
죄송합니다. @WoodNeck 님이 말하신 방법으로 사용해야 할 것 같습니다. |
항상 감사합니다. |
혹시 null이 아닌 undefined으로 설정해보시길 바랍니다. |
아 배열의 value에 키가 있는 형태이군요. ㅠㅠ @WoodNeck 님의 코멘트처럼 하셔야되겠네요 ㅠㅠ |
get,set 말고 저장된 값중 잘못 저장된 값을 지울 수 있을까요?
혹은 set을 통해 특정값을 날릴 수 가 있을지... 문의 드려 봅니다.
The text was updated successfully, but these errors were encountered: