Quick installation

Update data

OnceDB use the upsert or insert commands to add data.
OnceDB implements auxiliary indexes through ordered list (zset), which greatly improves the search performance under complex conditional queries.
OnceDB automatically creates these indexes through operators.
The syntax of upsert command is as follows:

The -1 returned on line 1 indicates that full-text search was used. It also supports “<,>, <=,> = ', etc.
Full text search performance is poor. In the case of large amounts of data, an index search is recommended.

Node.JS client

OnceDB does not constrain the data model at the bottom, but uses the driver layer to dynamically define data tables, fields, types, indexes, and so on.

node.js client, installable via npm:

npm install oncedb

You can then create an instance and connect to the local oncedb-server: