aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorilnaz <ilnaz@ydb.tech>2023-02-28 21:54:46 +0300
committerilnaz <ilnaz@ydb.tech>2023-02-28 21:54:46 +0300
commit39783e63c49f52654ac4860ef64681e6dee46806 (patch)
tree39f143c65449ae6916b70ea4fdba1a72032f0fe2
parentf090faf2c306236557f75a72164d0e7803f166e1 (diff)
downloadydb-39783e63c49f52654ac4860ef64681e6dee46806.tar.gz
docs: table readtable -> table read
-rw-r--r--ydb/docs/en/core/reference/ydb-cli/_includes/commands.md2
-rw-r--r--ydb/docs/en/core/reference/ydb-cli/commands/_includes/readtable.md6
-rw-r--r--ydb/docs/ru/core/reference/ydb-cli/_includes/commands.md2
-rw-r--r--ydb/docs/ru/core/reference/ydb-cli/commands/_includes/readtable.md6
4 files changed, 8 insertions, 8 deletions
diff --git a/ydb/docs/en/core/reference/ydb-cli/_includes/commands.md b/ydb/docs/en/core/reference/ydb-cli/_includes/commands.md
index e8f347cdb5..456c38027d 100644
--- a/ydb/docs/en/core/reference/ydb-cli/_includes/commands.md
+++ b/ydb/docs/en/core/reference/ydb-cli/_includes/commands.md
@@ -59,7 +59,7 @@ Any command can be run from the command line with the `--help` option to get hel
| [table index drop](../commands/secondary_index.md#drop) | Deleting an index |
| [table query execute](../table-query-execute.md) | Executing a YQL query |
| [table query explain](../commands/explain-plan.md) | YQL query execution plan |
-| [table readtable](../commands/readtable.md) | Streaming table reads |
+| [table read](../commands/readtable.md) | Streaming table reads |
| [table ttl set](../table-ttl-set.md) | Setting TTL parameters |
| [table ttl reset](../table-ttl-reset.md) | Resetting TTL parameters |
| [tools copy](../tools-copy.md) | Copying tables |
diff --git a/ydb/docs/en/core/reference/ydb-cli/commands/_includes/readtable.md b/ydb/docs/en/core/reference/ydb-cli/commands/_includes/readtable.md
index 67ca539c4a..0dcc5e28a0 100644
--- a/ydb/docs/en/core/reference/ydb-cli/commands/_includes/readtable.md
+++ b/ydb/docs/en/core/reference/ydb-cli/commands/_includes/readtable.md
@@ -1,11 +1,11 @@
# Streaming table reads
-To read an entire table snapshot, use the `readtable` subcommand. Data is transferred as a stream, which enables you to read any size table.
+To read an entire table snapshot, use the `read` subcommand. Data is transferred as a stream, which enables you to read any size table.
Read data:
```bash
-{{ ydb-cli }} table readtable episodes \
+{{ ydb-cli }} table read episodes \
--ordered \
--limit 5 \
--columns series_id,season_id,episode_id,title
@@ -38,7 +38,7 @@ Result:
To only get the number of read entries, use the `--count-only` parameter:
```bash
-{{ ydb-cli }} table readtable episodes \
+{{ ydb-cli }} table read episodes \
--columns series_id \
--count-only
```
diff --git a/ydb/docs/ru/core/reference/ydb-cli/_includes/commands.md b/ydb/docs/ru/core/reference/ydb-cli/_includes/commands.md
index c3e4d1157e..5ea0ca32be 100644
--- a/ydb/docs/ru/core/reference/ydb-cli/_includes/commands.md
+++ b/ydb/docs/ru/core/reference/ydb-cli/_includes/commands.md
@@ -59,7 +59,7 @@ table attribute drop | Удаление атрибута таблицы
[table index drop](../commands/secondary_index.md#drop) | Удаление индекса
[table query execute](../table-query-execute.md) | Исполнение YQL-запроса
[table query explain](../commands/explain-plan.md) | План исполнения YQL-запроса
-[table readtable](../commands/readtable.md) | Потоковое чтение таблицы
+[table read](../commands/readtable.md) | Потоковое чтение таблицы
[table ttl set](../table-ttl-set.md) | Установка параметров TTL
[table ttl reset](../table-ttl-reset.md) | Сброс параметров TTL
[tools copy](../tools-copy.md) | Копирование таблиц
diff --git a/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/readtable.md b/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/readtable.md
index e5895f71ab..380de95600 100644
--- a/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/readtable.md
+++ b/ydb/docs/ru/core/reference/ydb-cli/commands/_includes/readtable.md
@@ -1,11 +1,11 @@
# Потоковое чтение таблицы
-Чтобы прочитать снэпшот таблицы целиком, используйте подкоманду `readtable`. Данные передаются в виде стрима, что позволяет прочитать таблицу произвольного размера.
+Чтобы прочитать снэпшот таблицы целиком, используйте подкоманду `read`. Данные передаются в виде стрима, что позволяет прочитать таблицу произвольного размера.
Прочитайте данные:
```bash
-{{ ydb-cli }} table readtable episodes \
+{{ ydb-cli }} table read episodes \
--ordered \
--limit 5 \
--columns series_id,season_id,episode_id,title
@@ -38,7 +38,7 @@
Если вам нужно получить только количество прочитанных записей, используйте параметр `--count-only`:
```bash
-{{ ydb-cli }} table readtable episodes \
+{{ ydb-cli }} table read episodes \
--columns series_id \
--count-only
```