mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
небольшая финальная правка
This commit is contained in:
parent
5c21dd747a
commit
b50fd4d133
@ -80,7 +80,7 @@ WATCH lv EVENTS;
|
||||
|
||||
## LIMIT Clause {#limit-clause}
|
||||
|
||||
The `LIMIT n` clause specifies the number of updates the `WATCH` query should wait for before terminating. By default there is no limit on the number of updates and therefore the query will not terminate. The value of `0` indicates that the `WATCH` query should not wait for any new query results and therefore will return immediately once query is evaluated.
|
||||
The `LIMIT n` clause specifies the number of updates the `WATCH` query should wait for before terminating. By default there is no limit on the number of updates and therefore the query will not terminate. The value of `0` indicates that the `WATCH` query should not wait for any new query results and therefore will return immediately once query result is evaluated.
|
||||
|
||||
```sql
|
||||
WATCH [db.]live_view LIMIT 1;
|
||||
|
@ -80,7 +80,7 @@ WATCH lv EVENTS;
|
||||
|
||||
## Параметр LIMIT {#limit-clause}
|
||||
|
||||
Параметр `LIMIT n` задает количество обновлений запроса `WATCH`, после которого он оканчивает работу. По умолчанию это число не задано, поэтому запрос не прекратит выполняться. Значение `0` этого параметра будет означать, что запрос `WATCH` не будет отслеживать новые результаты запроса и закончит выполнение сразу после того, как вернет первый результат запроса.
|
||||
Параметр `LIMIT n` задает количество обновлений запроса `WATCH`, после которого он оканчивает работу. По умолчанию это число не задано, поэтому запрос не прекратит выполняться. Значение `0` этого параметра будет означать, что запрос `WATCH` не будет отслеживать новые результаты запроса и закончит выполнение сразу после того, как вернет единственный актуальный результат запроса.
|
||||
|
||||
```sql
|
||||
WATCH [db.]live_view LIMIT 1;
|
||||
|
Loading…
Reference in New Issue
Block a user