Files
common/packages/db/README.md
T
Jaco Greeff bc5edc4b42 Swap docs to use vuepress (#330)
* Play around, vuepress docs

* Cleanup old

* Build

* Round out updates
2019-02-26 11:14:20 +01:00

25 lines
462 B
Markdown

# @polkadot/db
This is an implementation of a basic sync in-memory and on-disk database with overlays. Memory is currently used by polkadot-js/client
## Usage
Installation -
```
yarn add @polkadot/db
```
Classes can be imported as follows:
```js
// Default exports
import DiskDb from '@polkadot/db/Disk';
import MemoryDb from '@polkadot/db/Memory';
import TransactionDb from '@polkadot/db/engines/TransactionDb';
```
## Utilities
[Utilities](SUMMARY.md)