nebula
nebula copied to clipboard
Added support for the List/Set type
For one-dimensional data of type List/Set: List_string, List_int, List_float, Set_string, Set_int, Set_float:
-
Support attributes defined as List /Set data types.
-
Use the List /Set data type for storage.
-
The List /Set data type can be filtered during query.
-
Attributes of the List /Set data type can be returned when the query is supported.
-
Added UPDATE statement to modify (REPLACE) and remove (ERASE) specified elements in List/Set types.
-
Added UPDATE statement to insert new data into List/Set: List = List + value, Set = SADD(Set, value).
Thanks for your help. You can add some tests for your new features according to the following articles. https://discuss.nebula-graph.com.cn/t/topic/4172 https://discuss.nebula-graph.com.cn/t/topic/4594
LGTM. We need to add some doc for this feature. cc. @ChrisChen2023 @abby-cyber