I have a vertex that has properties from two tags assigned:
> match (x:t1) where id(x) == '2' return x
+--------------------------------------+
| x |
+--------------------------------------+
| ("2" :t3{age: 20} :t1{name: "John"}) |
+--------------------------------------+
Got 1 rows (time spent 4141/99503 us)
If I just set t3
properties to null
, they still hang there as null
s:
> update vertex '2' set t3.age = null
Execution succeeded (time spent 3938/121345 us)
> match (x:t1) where id(x) == '2' return x
+--------------------------------------------+
| x |
+--------------------------------------------+
| ("2" :t3{age: __NULL__} :t1{name: "John"}) |
+--------------------------------------------+
Got 1 rows (time spent 4054/199559 us)
How do I detach a tag from this vertex completely?
update 2022-Dec-05: new update since 3.3.0
update 2022-Jan-22: it's supported now
ref:
Thank you for the exploration of the nebula graph ;).
As I know, there is no
detach tag
for now, the mitigation now is only to delete the vertex and insert it with the same vid with only one tag: t1.An issue was raised here.
BR//Wey