this.db.find(...).promise is not a function
ajmas opened this issue · comments
Andre-John Mas commented
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?