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

Update book from 2.6.0 #1157

Merged
merged 187 commits into from
Nov 3, 2021
Merged
Changes from 1 commit
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
a48ce94
Updated studio docs
randomJoe211 May 14, 2021
01e4284
Create st-ug-limitations.md
randomJoe211 May 14, 2021
bfdb9ff
Delete st-ug-limitations.md
randomJoe211 May 14, 2021
f855b27
Revert "Delete st-ug-limitations.md"
randomJoe211 May 14, 2021
03a8d26
Delete docs-2.0/nebula-docs directory
randomJoe211 May 17, 2021
04bee24
keep consistency
randomJoe211 May 17, 2021
5954458
Updated studio docs
randomJoe211 May 14, 2021
e9d8153
Create st-ug-limitations.md
randomJoe211 May 14, 2021
d4530ba
Delete st-ug-limitations.md
randomJoe211 May 14, 2021
48ab6b6
Revert "Delete st-ug-limitations.md"
randomJoe211 May 14, 2021
66941d4
Delete docs-2.0/nebula-docs directory
randomJoe211 May 17, 2021
9286aa4
keep consistency
randomJoe211 May 17, 2021
6fb5ecc
Updated studio docs
randomJoe211 May 14, 2021
cbee085
Create st-ug-limitations.md
randomJoe211 May 14, 2021
5a4a026
Delete st-ug-limitations.md
randomJoe211 May 14, 2021
c147be1
Revert "Delete st-ug-limitations.md"
randomJoe211 May 14, 2021
83cbeb9
Delete docs-2.0/nebula-docs directory
randomJoe211 May 17, 2021
df91984
keep consistency
randomJoe211 May 17, 2021
a3db441
Merge branch 'vesoft-inc:master' into master
randomJoe211 May 31, 2021
c72bd3c
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 2, 2021
7859fb6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 2, 2021
649ae82
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 3, 2021
be2e882
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 4, 2021
55906d3
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 9, 2021
32982c7
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 15, 2021
d58a30d
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 21, 2021
a1d22f8
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 23, 2021
31b686a
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 23, 2021
b813a7c
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 24, 2021
b6dc134
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 24, 2021
64cabe3
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jun 25, 2021
a9e8293
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 2, 2021
7fbc278
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 9, 2021
32187a7
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 16, 2021
7db0590
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 16, 2021
64ea344
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 21, 2021
1a44200
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 21, 2021
ee01f88
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 23, 2021
f122f44
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 26, 2021
b6d38cc
Merge branch 'vesoft-inc:master' into master
randomJoe211 Jul 27, 2021
6a99d39
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 3, 2021
29757d2
Update mkdocs.yml
randomJoe211 Aug 3, 2021
34f5073
Update mkdocs.yml
randomJoe211 Aug 4, 2021
d0c0bd7
Merge pull request #1 from vesoft-inc/master
randomJoe211 Aug 4, 2021
c442c6f
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 11, 2021
6ad100b
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 13, 2021
4543c45
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 18, 2021
c991fa6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 18, 2021
0a7ec05
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 19, 2021
1ad3c6d
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 20, 2021
396f908
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 24, 2021
e5d6e5f
Merge branch 'vesoft-inc:master' into master
randomJoe211 Aug 30, 2021
fe26569
Merge branch 'vesoft-inc:master' into master
randomJoe211 Sep 16, 2021
c24f22c
Update 5.lookup.md (#1002)
lopn Sep 26, 2021
a837fc7
Update 3.role-list.md (#1005)
cooper-lzy Sep 26, 2021
488b6bf
Update source_install-nebula-graph-by-rpm-or-deb.md (#1008)
foesa-yang Sep 26, 2021
dab75a4
Merge branch 'vesoft-inc:master' into master
randomJoe211 Sep 26, 2021
454e14e
Update 2.deploy-nebula-operator.md (#1015)
abby-cyber Sep 27, 2021
289321e
Update mkdocs.yml (#1016)
cooper-lzy Sep 27, 2021
ee84903
Support excluding files (#1017)
randomJoe211 Sep 27, 2021
4b4b449
Update 2.deploy-dashboard.md (#1014)
foesa-yang Sep 27, 2021
16db60b
Update 4.ldap.md (#1011)
cooper-lzy Sep 27, 2021
f623f42
Enable prefix bloom filter by default (#1012)
cooper-lzy Sep 27, 2021
9df1a04
show jobs only show space related (#1013)
cooper-lzy Sep 27, 2021
0deb35b
Update 3.2create-cluster-with-helm.md (#1021)
abby-cyber Sep 28, 2021
1db4753
Update 4.schema.md (#1019)
randomJoe211 Sep 28, 2021
19b9e28
Update nebula-algorithm.md (#1022)
cooper-lzy Sep 29, 2021
8c50b37
Update 4.connect-to-nebula-graph-service.md (#1023)
abby-cyber Sep 29, 2021
c6fabca
Update 5.operator-failover.md (#1025)
abby-cyber Sep 29, 2021
b990b87
update utils (#1029)
cooper-lzy Sep 29, 2021
dc3e360
Update ex-ug-FAQ.md (#1033)
foesa-yang Oct 8, 2021
8e5e453
add toss (#1035)
cooper-lzy Oct 11, 2021
816900d
Update ex-ug-import-from-neo4j.md (#1034)
cooper-lzy Oct 11, 2021
95fbb2c
add ssl (#1039)
cooper-lzy Oct 11, 2021
6463662
delete enterpriseonly (#1046)
cooper-lzy Oct 12, 2021
3f62909
lookup support use IN (#1050)
cooper-lzy Oct 12, 2021
7cfd9ce
Update 4.date-and-time.md (#1037)
foesa-yang Oct 12, 2021
bf4f2e1
Update 4.date-and-time.md (#1038)
foesa-yang Oct 12, 2021
49bbd71
Update 3.go.md (#1048)
foesa-yang Oct 12, 2021
4e4be7f
add max_allowed_query_size in graph config (#1036)
foesa-yang Oct 12, 2021
f248722
Update mkdocs.yml (#1040)
cooper-lzy Oct 13, 2021
3cb7db7
create space as (#1045)
cooper-lzy Oct 13, 2021
8c50d6a
Fix bad punctuations (#1049)
greyli Oct 13, 2021
6538960
Fix the incorrect description for UPSERT example (#1051)
greyli Oct 13, 2021
b9a1bc1
Update how-to-contribute.md (#1052)
abby-cyber Oct 13, 2021
0ea08c8
Update 4.ssl.md (#1044)
cooper-lzy Oct 14, 2021
04d7be6
Update nebula-algorithm.md (#1043)
cooper-lzy Oct 15, 2021
8586081
Update 4.ssl.md (#1041)
cooper-lzy Oct 15, 2021
86446ee
Modify some descriptions (#1054)
zhaohaifei Oct 15, 2021
199015e
fetch format (#1060)
cooper-lzy Oct 15, 2021
4d137b6
lookup format (#1061)
cooper-lzy Oct 15, 2021
ed518fe
Update ex-ug-import-from-sst.md (#1055)
cooper-lzy Oct 15, 2021
26a24b2
Improve the format of contributing guide (#1056)
greyli Oct 15, 2021
96f7566
get subgraph format (#1058)
cooper-lzy Oct 15, 2021
99743f7
Update 4.fetch.md (#1063)
izhuxiaoqing Oct 15, 2021
586c178
Update explorer (#1059)
foesa-yang Oct 15, 2021
6e70a2d
Update ex-ug-page-overview.md (#1065)
foesa-yang Oct 15, 2021
de2f46a
add a memory configuration param (#1062)
abby-cyber Oct 15, 2021
ccf39a8
add go format (#1064)
cooper-lzy Oct 18, 2021
1e8dbf5
Update 3.go.md (#1067)
cooper-lzy Oct 18, 2021
446e563
update eco tools (#1057)
foesa-yang Oct 18, 2021
d000a69
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 19, 2021
f4e0aae
Add rate limit parameters (#1071)
randomJoe211 Oct 19, 2021
9d81e03
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 19, 2021
9d1fb02
modify suffix (#1068)
izhuxiaoqing Oct 22, 2021
8828b87
Update ex-ug-import-from-sst.md (#1074)
izhuxiaoqing Oct 22, 2021
32e9f6d
Update 6.delete-tag.md (#1075)
xiajingchun Oct 22, 2021
444d0ab
update explorer picture (#1078)
foesa-yang Oct 22, 2021
b0b93ed
yield for full doc (#1070)
cooper-lzy Oct 22, 2021
745c9e6
Update 2.meta-config.md (#1066)
abby-cyber Oct 22, 2021
736f132
Update ex-ug-import-from-sst.md (#1073)
cooper-lzy Oct 22, 2021
0648788
lack of "[" (#1079)
abby-cyber Oct 22, 2021
3fbc367
Update ttl-options.md (#1080)
abby-cyber Oct 22, 2021
e0a53eb
add zone doc (#1053)
cooper-lzy Oct 22, 2021
8d02242
add geo (#1081)
cooper-lzy Oct 22, 2021
d9662d6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 22, 2021
51b06f1
Update 1.search-with-text-based-index.md (#1083)
abby-cyber Oct 22, 2021
5413618
Update limit syntax (#1082)
randomJoe211 Oct 22, 2021
d777fb1
Add sample doc (#1084)
randomJoe211 Oct 25, 2021
1e962e2
Update 0.FAQ.md (#1087)
cooper-lzy Oct 25, 2021
c6222b9
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 25, 2021
c380ad9
Update 1.text-based-index-restrictions.md (#1089)
abby-cyber Oct 26, 2021
b0df1d6
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 26, 2021
d41788d
Update 5.lookup.md (#1086)
randomJoe211 Oct 26, 2021
445db4f
add 2.6 release note (#1088)
cooper-lzy Oct 26, 2021
cb109b1
Update 2.rocksdb-statistics.md (#1091)
cooper-lzy Oct 26, 2021
2de6722
upgrade nebula (#1093)
cooper-lzy Oct 26, 2021
a8ee231
Update load-balance.md (#1092)
cooper-lzy Oct 26, 2021
7dd6924
Update source_manage-service.md (#1094)
abby-cyber Oct 26, 2021
a023ffd
Update 5.null.md (#1097)
randomJoe211 Oct 26, 2021
5c06dea
Update releasenote.md (#1099)
izhuxiaoqing Oct 26, 2021
bc136ff
Update 4.date-and-time.md (#1095)
randomJoe211 Oct 26, 2021
bd2ba75
add geo directory (#1096)
cooper-lzy Oct 26, 2021
5d37de2
Update 4.nebula-graph-crud.md (#1098)
abby-cyber Oct 26, 2021
aff3c49
remove studio&dashboard&explorer (#1100)
foesa-yang Oct 26, 2021
c2471b6
No line to separate result rows (#1105)
randomJoe211 Oct 27, 2021
84dc9b1
change eco-tools (#1106)
cooper-lzy Oct 27, 2021
318a2d1
Use new console table format in example (#1102)
yixinglu Oct 27, 2021
0a7c433
Update 8.map.md (#1103)
randomJoe211 Oct 27, 2021
c4b1c24
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 27, 2021
de31fd6
Update 9.type-conversion.md (#1104)
randomJoe211 Oct 27, 2021
7a493ac
Update 1.resource-preparations.md (#1110)
abby-cyber Oct 27, 2021
337166e
Update 2.deploy-es.md (#1111)
cooper-lzy Oct 27, 2021
9919be1
Update 4.schema.md (#1108)
cooper-lzy Oct 27, 2021
aca9405
updated-connect-to-nebula-graph (#1107)
abby-cyber Oct 27, 2021
12c676f
Update 6.eco-tool-version.md (#1101)
Sophie-Xie Oct 27, 2021
57d1f05
Update 3.property-reference.md (#1109)
randomJoe211 Oct 27, 2021
2a53a2a
Merge branch 'vesoft-inc:master' into master
randomJoe211 Oct 27, 2021
d441456
change example (#1115)
cooper-lzy Oct 28, 2021
e36430e
Add doc: install with tar (#1116)
randomJoe211 Oct 28, 2021
06138c6
Update 6.set.md (#1114)
randomJoe211 Oct 29, 2021
5ee09ed
Update 4.pipe.md (#1113)
randomJoe211 Nov 1, 2021
6050b54
Update 1.comparison.md (#1112)
randomJoe211 Nov 1, 2021
e847c6d
Update composite property indexes (#1118)
cooper-lzy Nov 1, 2021
e6f9c73
update studio (#1069)
foesa-yang Nov 1, 2021
aefcb11
Update 7.string.md (#1120)
randomJoe211 Nov 1, 2021
15be5f7
Update 8.predicate.md (#1124)
randomJoe211 Nov 1, 2021
9799434
Update 14.geo.md (#1125)
randomJoe211 Nov 1, 2021
7071425
update exchange 2.6.0 (#1119)
cooper-lzy Nov 1, 2021
2fe9744
Create 6. cheatcheet-for-ngql-command.md (#1085)
abby-cyber Nov 1, 2021
a3852b0
Update 1.install-nebula-graph-by-compiling-the-source-code.md (#1117)
abby-cyber Nov 1, 2021
125be8f
Update 5.case-expressions.md (#1121)
randomJoe211 Nov 1, 2021
5b030df
Update 7.count.md (#1122)
randomJoe211 Nov 1, 2021
4e9b28f
Update 12.hash.md (#1123)
randomJoe211 Nov 1, 2021
23a20cc
Update 2.match.md (#1127)
randomJoe211 Nov 1, 2021
42848f7
Update 4.install-nebula-graph-from-tar.md (#1128)
randomJoe211 Nov 1, 2021
68d25d8
verify nGQL (#1129)
cooper-lzy Nov 1, 2021
b13f4df
update (#1133)
foesa-yang Nov 1, 2021
2d65e61
Update 14.show-stats.md (#1138)
randomJoe211 Nov 1, 2021
2501b75
Update 7.show-index-status.md (#1137)
randomJoe211 Nov 1, 2021
bf43c24
Update 6.show-hosts.md (#1136)
randomJoe211 Nov 1, 2021
08ec670
Update 5.show-create-tags-edges.md (#1135)
randomJoe211 Nov 1, 2021
d1f642d
Update 4.show-create-space.md (#1134)
randomJoe211 Nov 1, 2021
ea8f02f
Update 3.go.md (#1132)
randomJoe211 Nov 1, 2021
03fb36f
Update 3.deploy-nebula-graph-with-docker-compose.md (#1126)
abby-cyber Nov 1, 2021
4f74430
Update 5.lookup.md (#1130)
randomJoe211 Nov 1, 2021
0f88790
Update 0.FAQ.md (#1141)
randomJoe211 Nov 1, 2021
2f5fb89
Update 15.show-tags-edges.md (#1139)
randomJoe211 Nov 1, 2021
076090d
Update 17.show-sessions.md (#1140)
randomJoe211 Nov 1, 2021
999d16a
updates (#1131)
abby-cyber Nov 2, 2021
8875daa
Update source_install-nebula-graph-by-rpm-or-deb.md (#1142)
abby-cyber Nov 2, 2021
27cf3b8
Add an example for random LIMIT seed (#1143)
randomJoe211 Nov 2, 2021
3fc61ee
modify-doc-name (#1144)
abby-cyber Nov 2, 2021
30f6fa8
Update upgrade-nebula-graph-to-260.md (#1147)
abby-cyber Nov 2, 2021
b7fa7d8
Merge branch 'vesoft-inc:master' into master
randomJoe211 Nov 2, 2021
1e9634c
Merge branch 'master' into update-book-from-2.6.0
randomJoe211 Nov 3, 2021
16a4c57
Update mkdocs.yml
randomJoe211 Nov 3, 2021
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
fetch format (#1060)
* fetch format

* update

* update

* update
cooper-lzy authored Oct 15, 2021
commit 199015ec07363f36d50974e3b58f6d60da45eea2
13 changes: 8 additions & 5 deletions docs-2.0/3.ngql-guide/7.general-query-statements/4.fetch.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# FETCH

<!-- 3.0强制使用YIELD后需要修改本文档,参考 https://confluence.nebula-graph.io/pages/viewpage.action?pageId=10723963 -->

`FETCH`可以获取指定点或边的属性值。

## openCypher兼容性
@@ -13,15 +15,16 @@
```ngql
FETCH PROP ON {<tag_name>[, tag_name ...] | *}
<vid> [, vid ...]
[YIELD <output>]
[YIELD <return_list> [AS <alias>]];
```

|参数|说明|
|:---|:---|
|`tag_name`|Tag名称。|
|`*`|表示当前图空间中的所有Tag。|
|`vid`|点ID。|
|`output`|指定要返回的信息。详情请参见[`YIELD`](../8.clauses-and-options/yield.md)。如果没有`YIELD`子句,将返回所有匹配的信息。|
|`YIELD`|定义需要返回的输出。除了返回定义的属性,额外返回`VertexID`。详情请参见[`YIELD`](../8.clauses-and-options/yield.md)。如果没有`YIELD`子句,默认返回`vertices_`,包含点的所有信息。|
|`AS`| 设置别名。|

### 基于Tag获取点的属性值

@@ -42,9 +45,9 @@ nebula> FETCH PROP ON player "player100";

```ngql
nebula> FETCH PROP ON player "player100" \
YIELD player.name;
YIELD player.name AS name;
+-------------+--------------+
| VertexID | player.name |
| VertexID | name |
+-------------+--------------+
| "player100" | "Tim Duncan" |
+-------------+--------------+
@@ -132,7 +135,7 @@ FETCH PROP ON <edge_type> <src_vid> -> <dst_vid>[@<rank>] [, <src_vid> -> <dst_v
|`src_vid`|起始点ID,表示边的起点。|
|`dst_vid`|目的点ID,表示边的终点。|
|`rank`|边的rank。可选参数,默认值为`0`。起始点、目的点、Edge type和rank可以唯一确定一条边。|
|`output`|指定要返回的信息。详情请参见[`YIELD`](../8.clauses-and-options/yield.md)。如果没有`YIELD`子句,将返回所有匹配的信息。|
|`YIELD`|定义需要返回的输出。除了返回定义的属性,额外返回`起始点ID`、`目的点ID`和`rank`。。详情请参见[`YIELD`](../8.clauses-and-options/yield.md)。如果没有`YIELD`子句,默认返回`edges_`,包含边的所有信息。|

### 获取边的所有属性值