PouchDB find() returns empty array after delete 1 of 6 objects from db

邮差的信 提交于 2019-12-01 21:24:24

Take a loot at this answer, according to item 2 of the answer:

  1. At query time, an index can only be used if all it's indexed fields are required to exist according to the selector. For example, if your index contains fields A and B but you only query for A, we can't use the index because it won't include documents that contain A but not B.

Maybe that's the cause of your issue.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!