{"id":8109,"date":"2015-11-26T13:40:29","date_gmt":"2015-11-26T13:40:29","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/26\/how-can-i-delete-pouchdb-database-indefinitly-to-free-space-open-source-projects-pouchdb-pouchdb\/"},"modified":"2022-08-30T15:03:00","modified_gmt":"2022-08-30T15:03:00","slug":"how-can-i-delete-pouchdb-database-indefinitly-to-free-space-open-source-projects-pouchdb-pouchdb","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/26\/how-can-i-delete-pouchdb-database-indefinitly-to-free-space-open-source-projects-pouchdb-pouchdb\/","title":{"rendered":"How can I delete PouchDB Database indefinitly, to free space?-open source projects pouchdb\/pouchdb"},"content":{"rendered":"<p>How can I drop a database in PouchDB to get the space on the disk free again? Remove only sets a paramter _deleted and keeps the Data of the record anyway. But how can I delete records in a way that actually gets rid of them and saves up some space?<\/p>\n<p>Because I&#8217;d like to reset the database every now and then so it doesn&#8217;t get too big.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How can I drop a database in PouchDB to get the space on the disk free again? Remove only sets a paramter _deleted and keeps the Data of the record anyway. But how can I delete records in a way that actually gets rid of them and saves up some space? Because I&#8217;d like to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8109","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=8109"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8109\/revisions"}],"predecessor-version":[{"id":8614,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8109\/revisions\/8614"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=8109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=8109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=8109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}