Skip to content

Commit 98530e6

Browse files
committed
Code cleanup
1 parent 3b327d1 commit 98530e6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/binding/database.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ napi_value Database::Constructor(napi_env env, napi_callback_info info) {
5555
}
5656

5757
/**
58-
* Removes all entries from the RocksDB database by delete the column family
59-
* files.
58+
* Removes all entries in a RocksDB database column family using an uncapped range.
6059
*
6160
* @example
6261
* ```typescript
@@ -132,7 +131,7 @@ napi_value Database::Clear(napi_env env, napi_callback_info info) {
132131
}
133132

134133
/**
135-
* Removes all entries from the RocksDB database by compacting and deleting the files for the column family
134+
* Removes all entries in a RocksDB database column family using an uncapped range (synchronously).
136135
*
137136
* @example
138137
* ```typescript

src/database.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { DBI, type DBITransactional } from './dbi.js';
33
import { Store, type UserSharedBufferOptions, type ArrayBufferWithNotify, type StoreOptions } from './store.js';
44
import { config, type PurgeLogsOptions, type RocksDatabaseConfig, type TransactionOptions } from './load-binding.js';
55
import { Encoder as MsgpackEncoder } from 'msgpackr';
6-
import { withResolvers } from './util.js';
76
import * as orderedBinary from 'ordered-binary';
87
import type { Encoder, EncoderFunction, Key } from './encoding.js';
98

0 commit comments

Comments
 (0)