Persistence for dbjs
API consist of two major interfaces Driver
and Storage
.
Driver
can be seen as counterpart of Database in SQL-like engines, and Storage
is counterpart of Table.
Both interfaces come with implementation of top layer logic, while low-level internals are left empty and are meant to be implemented in individual drivers working with dedicated database engines.
This project provides also full implementation of efficient driver that works with text files (it is located in text-file
directory)
$ npm test