petersirka / nosql

NoSQL embedded database for small node.js projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

builder.contains is not a function

hellmelt opened this issue · comments

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.

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 👎

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.