15 lines
455 B
TypeScript
15 lines
455 B
TypeScript
// Copyright 2017-2018 @polkadot/db authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the ISC license. See the LICENSE file for details.
|
|
|
|
import { BaseDbOptions } from './types';
|
|
|
|
import MemoryDb from './engines/MemoryDb';
|
|
import TransactionDb from './engines/TransactionDb';
|
|
|
|
export default class Memory extends TransactionDb {
|
|
constructor (options?: BaseDbOptions) {
|
|
super(new MemoryDb(options));
|
|
}
|
|
}
|