nosql icon indicating copy to clipboard operation
nosql copied to clipboard

this.db.find(...).promise is not a function

Open ajmas opened this issue 5 years ago • 0 comments

I am trying to use this as a store, but running into issues when trying find entries. Using Typescript.

In my class I have:

this.db = NoSQL.load(path.join(storePath,'/media-catalogue.nosql'));

then I try:

await this.db.find().promise();

This results in:

TypeError: this.db.find(...).promise is not a function

any ideas?

ajmas avatar Oct 18 '19 19:10 ajmas