1280019840 opened a new issue, #609:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/609

   ### Problem Type (问题类型)
   
   configs (配置项 / 文档相关)
   
   ### Before submit
   
   - [X] I had searched in the 
[issues](https://github.com/apache/hugegraph-toolchain/issues) and found no 
similar issues.
   
   ### Environment (环境信息)
   
   - Server Version: 1.x.x
   - Toolchain Version: 1.x.x
   - Data Size:  xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
   
   
   ### Your Question (问题描述)
   
   Model is an internal package model, how should I create it Create a model 
when using Vertex Using Vertex [any] as a parameter, call Vertex What about 
Create. WithVertex
   
![1717655653779](https://github.com/apache/incubator-hugegraph-toolchain/assets/136102971/e4561b23-2a64-42b6-9cbb-0cd9888958b0)
   
![image](https://github.com/apache/incubator-hugegraph-toolchain/assets/136102971/3a44d461-c9f2-4e40-b1ae-bd2109d4bced)
   
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   ```javascript
   vertex := model.Vertex[any]{
                Label: "person",
                Properties: map[string]any{
                        "name": "Alice",
                        "age":  30,
                },
        }
   
        createResp, err := client.Vertex.Create(
                client.Vertex.Create.WithVertex(vertex),
        )
        if err != nil {
                fmt.Println(err)
        }
        fmt.Println("createResp: ", createResp.StatusCode)
   ```
   
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to