Closed daihy8759 closed 6 years ago
"rxdb": "^7.6.0", "pouchdb-adapter-leveldb": "^7.0.0", "leveldown": "^4.0.1", "rxjs": "^6.2.0",
RxDB.plugin(require('pouchdb-adapter-leveldb')) db = await RxDB.create({ name: path.resolve(__dirname, '../../../data/test'), adapter: require('leveldown'), password: '****', multiInstance: true })
db.collection({ name: 'test1', schema: { type: 'object', version: 0, properties: { status: { type: 'integer' } } } })
db.lottery.find().exec()return all docs,but db.lottery.find().where('status').eq(0).exec() is empty,i ensure have documents with status =0 and use db.test1.pouch.bulkDocs(data) insert data
db.lottery.find().exec()
db.lottery.find().where('status').eq(0).exec()
Hi @dai875939260 thanks for reporting the issue. Please create a PR with a failing test, like described in the issue-template.
I'm closing this. There is no way to reproduce this with the given information.
env
db.lottery.find().exec()
return all docs,butdb.lottery.find().where('status').eq(0).exec()
is empty,i ensure have documents with status =0 and use db.test1.pouch.bulkDocs(data) insert data