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

minors #66

Merged
merged 3 commits into from
Jul 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/AliYun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
username: ${{ secrets.USER_NAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.port }}
source: nebula-docs.tar.gz
source: nebula-docs.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

target: /usr/web

- name: UnCompress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nebula> ALTER EDGE e1 ADD (prop1 int, prop2 string), /* 添加 prop1 */
CHANGE (prop3 string), /* 将 prop3 类型更改为字符 */
DROP (prop4, prop5); /* 删除 prop4 和 prop5 */

nebula> ALTER EDGE e1 TTL_DURATION = 2, TTL_COL = prop1;
nebula> ALTER EDGE e1 TTL_DURATION = 2, TTL_COL = "prop1";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

```

注意 TTL_COL 仅支持 INT 和 TIMESTAMP 类型
**注意:** `TTL_COL` 仅支持 `INT``TIMESTAMP` 类型的属性
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ttl_definition::=
```ngql
nebula> CREATE TAG t1 (name string, age int);
nebula> ALTER TAG t1 ADD (id int, address string);
nebula> ALTER TAG t1 TTL_DURATION = 2, TTL_COL = age;
nebula> ALTER TAG t1 TTL_DURATION = 2, TTL_COL = "age";
```

注意 TTL_COL 仅支持 INT 和 TIMESTAMP 类型
**注意:** `TTL_COL` 仅支持 `INT``TIMESTAMP` 类型的属性
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ docker> cp etc/nebula-storaged.conf.default etc/nebula-storaged.conf

```bash
docker> ./scripts/nebula.service start all
docker> ./bin/nebula -u user -p password --port 3699 --addr="127.0.0.1"
docker> ./bin/nebula -u root -p nebula --port 3699 --addr="127.0.0.1"
nebula> SHOW HOSTS;
```
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ nebula> UPDATE CONFIGS graph:v=1;
属性名 | 默认值 | 说明
------------------------------- | ------------------------ | -----------
`enable_authorize` | false | 开启身份验证
`auth_type` | password | password: 帐密方式;ldap: LDAP 方式;cloud: 云端方式
`auth_type` | password | password帐密方式;ldapLDAP 方式;cloud云:端方式

开启身份验证,仅能使用 root 账号登陆,例如:

Expand Down