petersirka / nosql

NoSQL embedded database for small node.js projects
Other
295 stars 48 forks source link

builder.contains is not a function #45

Closed hellmelt closed 6 years ago

hellmelt commented 6 years ago

I'm using nosql from npm, version 6.1.0.

According to documentation, DatabaseBuilder has a method contains. But when I try to use it I get builder.contains is not a function.

E.g. builder.where works as expected.

petersirka commented 6 years ago

Hi @hellmelt, 1M sorry but I didn't update NoSQL module to newest version. It's my plan, but currently I don't have any time for it. The latest version of NoSQL is a part of Total.js framework.

Sorry again 👎

hellmelt commented 6 years ago

OK. I installed total.js and require('total.js/nosql'). Means that the rest of total.js will be dead code on the server, but that's ok. Thanks for the advice.