небольшая финальная правка

This commit is contained in:
Mikhail 2021-03-23 15:20:35 +03:00
parent 5c21dd747a
commit b50fd4d133
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;