简体   繁体   中英

Null objects after removing document from jsonstore collection

How can I remove objects from collection using remove() function without leaving null objects? When we delete the object using remove() it will be replaced by null. I don't want to keep the null objects in collection because of memory/performance.

All the production ready versions of the JSONStore API (ie iOS, Android, WP8 and Windows 8) remove documents from the persistent store when the document being removed is not marked as dirty. You can use the markClean API to ensure the document is not dirty prior to calling the remove API to really remove it from the persistent store.

If you think there is a defect somewhere you may open a PMR here . If want to request new functionality you may open a feature request here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM