pouchdb是否会像沙发床一样留下已删除的逻辑删除? [英] Does pouchdb leave deleted tombstones like couchdb does?

查看:52
本文介绍了pouchdb是否会像沙发床一样留下已删除的逻辑删除?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个混合应用程序,可以在ouchdb上生成很多墓碑。服务器上每月大约有100,000个。每个用户每天应获得约4个。
Pouchdb是否维护墓碑?还是将它们压紧或清除?还是有执行此命令的命令?还是我必须删除数据库并定期重新创建?

I have a hybrid app that generates a lot of tombstones on couchdb. About 100,000 a month on the server. Each user should be getting about 4 a day. Does Pouchdb maintain tombstones? Or do they get compacted or purged? Or is there a command to do that? Or do I have to drop the database and recreate periodically?

谢谢

推荐答案

Pouchdb在删除文档时会保留墓碑

Pouchdb does keep a tombstone when deleting a document.

PouchDB尚不提供清除功能,因此,完全删除文档的唯一方法是删除本地数据库。

Purge is not available yet for PouchDB so the only way to completely deletes documents is by deleting the local database.

这篇关于pouchdb是否会像沙发床一样留下已删除的逻辑删除?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆