Skip to content

Commit 1c884db

Browse files
committed
feat(adapters-kv): add capability field
Signed-off-by: owl <[email protected]>
1 parent 67fde92 commit 1c884db

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

core/src/raw/adapters/kv/backend.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ impl<S: Adapter> Accessor for Backend<S> {
8787
cap.list_without_delimiter = true;
8888
}
8989

90+
cap.copy = true;
91+
cap.rename = true;
92+
9093
am
9194
}
9295

core/src/raw/adapters/typed_kv/backend.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ impl<S: Adapter> Accessor for Backend<S> {
9292
cap.list_without_delimiter = true;
9393
}
9494

95+
cap.copy = true;
96+
cap.rename = true;
97+
9598
cap.blocking = true;
9699

97100
am

0 commit comments

Comments
 (0)