• Const
levelIteratorStream: any
Defined in: leveldb.ts:8
▸ openLevelDb(args
: { extra?
: Record<string, any> ; file?
: string ; level?
: level.LevelDB | LevelUp ; removeExisting?
: boolean ; tables?
: string[] }): Promise<{ close
: () => Promise<void> ; db
: LevelDB<any, any> | LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>> ; tables
: Record<string, LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>>> }>
Name | Type |
---|---|
args |
object |
args.extra? |
Record<string, any> |
args.file? |
string |
args.level? |
level.LevelDB | LevelUp |
args.removeExisting? |
boolean |
args.tables? |
string[] |
Returns: Promise<{ close
: () => Promise<void> ; db
: LevelDB<any, any> | LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>> ; tables
: Record<string, LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>>> }>
Defined in: leveldb.ts:40
▸ openLevelDbInput(args
: { extra?
: Record<string, any> ; inputFile?
: string ; inputLeveldb?
: level.LevelDB | LevelUp ; inputTable?
: string[] }): Promise<{ close
: () => Promise<void> ; db
: LevelDB<any, any> | LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>> ; tables
: Record<string, LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>>> }>
Name | Type |
---|---|
args |
object |
args.extra? |
Record<string, any> |
args.inputFile? |
string |
args.inputLeveldb? |
level.LevelDB | LevelUp |
args.inputTable? |
string[] |
Returns: Promise<{ close
: () => Promise<void> ; db
: LevelDB<any, any> | LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>> ; tables
: Record<string, LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>>> }>
Defined in: leveldb.ts:10
▸ openLevelDbOutput(args
: { extra?
: Record<string, any> ; outputFile?
: string ; outputLeveldb?
: level.LevelDB | LevelUp ; outputTable?
: string[] ; removeExisting?
: boolean }): Promise<{ close
: () => Promise<void> ; db
: LevelDB<any, any> | LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>> ; tables
: Record<string, LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>>> }>
Name | Type |
---|---|
args |
object |
args.extra? |
Record<string, any> |
args.outputFile? |
string |
args.outputLeveldb? |
level.LevelDB | LevelUp |
args.outputTable? |
string[] |
args.removeExisting? |
boolean |
Returns: Promise<{ close
: () => Promise<void> ; db
: LevelDB<any, any> | LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>> ; tables
: Record<string, LevelUp<AbstractLevelDOWN<any, any>, AbstractIterator<any, any>>> }>
Defined in: leveldb.ts:24
▸ streamFromLevelDb(leveldb
: level.LevelDB | LevelUp): ReadableStreamTree
Name | Type |
---|---|
leveldb |
level.LevelDB | LevelUp |
Returns: ReadableStreamTree
Defined in: leveldb.ts:76
▸ streamToLevelDb(leveldb
: level.LevelDB | LevelUp, args
: { getKey
: (item
: any) => string }): WritableStreamTree
Name | Type |
---|---|
leveldb |
level.LevelDB | LevelUp |
args |
object |
args.getKey |
(item : any) => string |
Returns: WritableStreamTree
Defined in: leveldb.ts:81