Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] TTL cn #1934

Merged
merged 39 commits into from
Mar 17, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4ea645e
Fix lambda captured by reference (#1681)
critical27 Jan 20, 2020
32eabfd
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Jan 21, 2020
5e802ac
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Feb 10, 2020
658a48e
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Feb 12, 2020
29bfbb2
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Feb 18, 2020
daa23e0
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Feb 26, 2020
fa83f27
Fix meta would crash when balance in multiple relica (#1826)
critical27 Feb 26, 2020
0f0b19c
support charset in schema (#1709)
panda-sheep Feb 26, 2020
f6407b2
Lookup benchmark (#1738)
bright-starry-sky Feb 26, 2020
3e6bd57
update readme link (#1815)
amber-moe Feb 26, 2020
453bf8f
update (#1809)
amber-moe Feb 26, 2020
ee97825
[doc] prerequisite added in quick start (#1808)
wilsonyou Feb 26, 2020
bd511e2
fix metrics-exposer comments and comment out (#1797)
amber-moe Feb 26, 2020
f3fa0a0
[doc]configure TTL (#1791)
amber-moe Feb 26, 2020
14f80c0
[doc]add lookup and update toc (#1778)
amber-moe Feb 26, 2020
53f6a32
Added sanitizer option for compile scripts. (#1819)
monadbobo Feb 26, 2020
ace9ab2
[doc] Group By statement updated (#1835)
wilsonyou Feb 27, 2020
ca6a864
Bidirectional traverse. (#1740)
CPWstatic Feb 28, 2020
e41d870
add charset doc (#1750)
amber-moe Feb 28, 2020
7d0568d
[doc]modify block cache (#1829)
amber-moe Feb 28, 2020
30f8a9e
default value supports expression (#1838)
amber-moe Feb 28, 2020
237dfb5
Fixed an error when using update sentence. (#1830)
monadbobo Mar 2, 2020
8a09218
[doc]add bidirect (#1752)
amber-moe Mar 2, 2020
d187735
Support delete vertices (#1317)
Mar 3, 2020
617ec4b
Check if inputs has duplicate column. (#1841)
CPWstatic Mar 3, 2020
2e9599e
support return partial result in get of kv interfaces (#1840)
critical27 Mar 3, 2020
8ecdcb3
Merge branch 'master' of https://github.com/vesoft-inc/nebula
jude-zhu Mar 4, 2020
9bb7a9d
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Mar 5, 2020
7c122ef
Merge branch 'master' of https://github.com/jude-zhu/nebula
jude-zhu Mar 17, 2020
2f79987
update ttl cn
jude-zhu Mar 17, 2020
cf91474
udpate
jude-zhu Mar 17, 2020
876b5e1
update
jude-zhu Mar 17, 2020
0dc0172
udpate
jude-zhu Mar 17, 2020
00456c8
update
jude-zhu Mar 17, 2020
1470953
update
jude-zhu Mar 17, 2020
9a809af
udpate
jude-zhu Mar 17, 2020
a413ff3
update
jude-zhu Mar 17, 2020
ae02f82
update
jude-zhu Mar 17, 2020
3fb4af7
Merge branch 'master' into ttl
dangleptr Mar 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[doc] prerequisite added in quick start (#1808)
  • Loading branch information
wilsonyou authored and jude-zhu committed Mar 4, 2020
commit ee97825c5af85bac79357fa783d7d8c87dbccbf7
8 changes: 6 additions & 2 deletions docs/manual-CN/1.overview/2.quick-start/1.get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

本手册将逐步指导您使用 **Nebula Graph**。我们将指导您如何[创建并使用图空间](#创建并使用图空间),[定义数据的schema](#定义数据的schema),[插入数据](#插入数据),[获取数据](#获取数据),[更新数据](#更新数据)以及[删除数据](#删除数据)。最后我们将指导您如何通过`.ngql`文件来[批量插入](#批量插入)数据。

## 前提条件

在使用 **Nebula Graph** 前,请确保已安装 **Nebula Graph**。您可以选择[编译源码](../../3.build-develop-and-administration/1.build/1.build-source-code.md),[rpm/deb 包](../../3.build-develop-and-administration/3.deploy-and-administrations/deployment/install-with-rpm-deb.md) 或者 [docker compose](https://github.com/vesoft-inc/nebula-docker-compose) 方式安装 **Nebula Graph**。此处建议使用 [docker compose](https://github.com/vesoft-inc/nebula-docker-compose)。

## 概述

我们将通过下图中不同点之间的关系向您展示如何使用 **Nebula Graph** 数据库。
Expand Down Expand Up @@ -58,13 +62,13 @@ nebula> SHOW SPACES;
1. 输入以下语句创建 **player** 标签:

```ngql
nebula> CREATE TAG player (name string, age int);
nebula> CREATE TAG player(name string, age int);
```

2. 输入以下语句创建 **team** 标签:

```ngql
nebula> CREATE TAG team (name string);
nebula> CREATE TAG team(name string);
```

3. 输入以下语句创建 **follow** 边类型:
Expand Down
8 changes: 6 additions & 2 deletions docs/manual-EN/1.overview/2.quick-start/1.get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This guide helps you walk through the process of using **Nebula Graph**. We will show you how to [create and use a graph space](#creating-and-using-a-graph-space), [define the schema for your data](#defining-the-schema-for-your-data), [insert data](#inserting-data), [fetch data](#fetching-data), [update data](#updating-data) and [delete data](#deleting-data). At the end we will show you how to [insert multiple data](#batch-inserting) with a `.ngql` file.

## Prerequisite

Before using **Nebula Graph**, you must install **Nebula Graph** by [installing source code](../../3.build-develop-and-administration/1.build/1.build-source-code.md), [rpm/deb packages](../../3.build-develop-and-administration/3.deploy-and-administrations/deployment/install-with-rpm-deb.md) or [docker compose](https://github.com/vesoft-inc/nebula-docker-compose). It is recommended to install **Nebula Graph** by [docker compose](https://github.com/vesoft-inc/nebula-docker-compose).

## Overview

We will show you how to use the **Nebula Graph** database based on the relations between different vertices in the following figure:
Expand Down Expand Up @@ -58,13 +62,13 @@ You can create tags and edge types by the following steps:
1. Enter the following statement to create the **player** tag:

```ngql
nebula> CREATE TAG player (name string, age int);
nebula> CREATE TAG player(name string, age int);
```

2. Enter the following statement to create the **team** tag:

```ngql
nebula> CREATE TAG team (name string);
nebula> CREATE TAG team(name string);
```

3. Enter the following statement to create the **follow** edge type:
Expand Down