I tried using rocksdb to read some files and it seems nothing is accessed
import rocksdb from 'rocksdb'
const db = rocksdb('./sui')
try {
console.log('Opening database...')
await new Promise((resolve, reject) => {
db.open({ readOnly: true }, error => {
if (error) reject(error)
else resolve()
})
})
console.log('Database opened')
for await (const [key, value] of db.iterator()) {
console.dir({ key, value })
}
} catch (error) {
console.error(error)
}
While if I try level-rocksdb for the same files, it prints this error below, meaning there is actual datas but i'd assume rocksdb is only reading the empty default column.
I tried using rocksdb to read some files and it seems nothing is accessed
While if I try
level-rocksdb
for the same files, it prints this error below, meaning there is actual datas but i'd assumerocksdb
is only reading the empty default column.How do you specify the column to read ?