-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
General Question
I wanna add Nebula support for Opendal, so I need to treat Nebula as a KV-like database. I plan to do like this:
// create test space, its vid type should be str
CREATE SPACE test_kv(PARTITION_NUM = 20, VID_TYPE = FIXED_STRING(21));
// create kv tag
CREATE TAG kv(value string);
// insert key-value pair
INSERT VERTEX kv VALUES "test":("23");
// get value by key
FETCH PROP ON kv "test" YIELD kv.id as key, kv.value as value;
+-------+
| value |
+-------+
| "23" |
+-------+
// delete key-value pair
DELETE VERTEX "test";
I found that there are three clients here.
I am curious whether using graphd-client or storaged-client is better. In terms of feeling, my requirement is very simple, may the latency of connecting to storaged server directly be smaller?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels