Skip to content

Commit

Permalink
improving in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
flown4qqqq committed Jan 22, 2025
1 parent 35b059a commit edce91a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
20 changes: 18 additions & 2 deletions ydb/docs/en/core/yql/reference/yql-core/syntax/create-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,26 @@

Creates a group with the specified name.

Syntax:
## Syntax

```yql
CREATE GROUP group_name
CREATE GROUP group_name [ WITH user_name [ , user_name [ ... ]] [ , ] ]
```

### Parameters

* `group_name`: The name of the group. It may contain lowercase Latin letters and digits.
* `user_name`: The name of the user. It may contain lowercase Latin letters and digits.

## Examples {#examples}
```yql
CREATE GROUP group1;
```

```yql
CREATE GROUP group2 WITH USER user1;
```

```yql
CREATE GROUP group3 WITH USER user1, user2,;
```
20 changes: 18 additions & 2 deletions ydb/docs/ru/core/yql/reference/yql-core/syntax/create-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,26 @@

Создает группу с указанным именем.

Синтаксис:
## Синтаксис

```yql
CREATE GROUP group_name
CREATE GROUP group_name [ WITH user_name [ , user_name [ ... ]] [ , ] ]
```

### Параметры

* `group_name` — имя группы. Может содержать строчные буквы латинского алфавита и цифры.
* `user_name` — имя пользователя. Может содержать строчные буквы латинского алфавита и цифры.

## Примеры {#examples}
```yql
CREATE GROUP group1;
```

```yql
CREATE GROUP group2 WITH USER user1;
```

```yql
CREATE GROUP group3 WITH USER user1, user2,;
```

0 comments on commit edce91a

Please sign in to comment.