diff --git a/docs/en-US/source/7.client-tools/5.bolt-client.md b/docs/en-US/source/7.client-tools/5.bolt-client.md index 7861c59a9b..6363d5fddd 100644 --- a/docs/en-US/source/7.client-tools/5.bolt-client.md +++ b/docs/en-US/source/7.client-tools/5.bolt-client.md @@ -33,7 +33,7 @@ Common statements: //Clear the graph project, please do not attempt this lightly as it will delete both the schema and data of the selected graph project. session.run("CALL db.dropDB()"); //Create vertex - session.run("CALL db.createVertexLabel('person', 'id' , 'id' ,INT32, false, 'name' ,STRING, false)"); + session.run("CALL db.createVertexLabel('person', 'id' , 'id' ,'INT32', false, 'name' ,'STRING', false)"); //Create edge session.run("CALL db.createEdgeLabel('is_friend','[[\"person\",\"person\"]]')"); //Create index diff --git a/docs/zh-CN/source/7.client-tools/5.bolt-client.md b/docs/zh-CN/source/7.client-tools/5.bolt-client.md index c00f3f0120..5d3d20b850 100644 --- a/docs/zh-CN/source/7.client-tools/5.bolt-client.md +++ b/docs/zh-CN/source/7.client-tools/5.bolt-client.md @@ -31,7 +31,7 @@ Client按照如下格式进行实例化: //清空图项目,请不要轻易尝试,它会清空你选中的图项目的模型以及数据 session.run("CALL db.dropDB()"); //创建点模型 - session.run("CALL db.createVertexLabel('person', 'id' , 'id' ,INT32, false, 'name' ,STRING, false)"); + session.run("CALL db.createVertexLabel('person', 'id' , 'id' ,'INT32', false, 'name' ,'STRING', false)"); //创建边模型 session.run("CALL db.createEdgeLabel('is_friend','[[\"person\",\"person\"]]')"); //创建索引