Skip to content

Commit 49cd2ac

Browse files
committed
Added database name to subspace prefix
1 parent 33c68f9 commit 49cd2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/adapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export default function FoundationdbAdapter(api, {
486486
: /** @type {Seq} */(seq);
487487
}
488488

489-
const subspace = new fdb.Subspace(db.subspace.prefix);
489+
const subspace = new fdb.Subspace(db.subspace.prefix).at(fdb.tuple.pack(name));
490490

491491
const stores = {
492492
/* eslint-disable stylistic/max-len */

0 commit comments

Comments
 (0)