Possible values for db name

This commit is contained in:
olgarev 2021-11-02 14:29:20 +00:00
parent 59d6a7b790
commit dd2698ed98
4 changed files with 16 additions and 4 deletions

View File

@ -17,7 +17,10 @@ Reading is automatically parallelized. Writing to a table is not supported. When
**Engine Parameters**
- `db_name` — Database name or a regular expression to match the DB names. You can use a constant expression that returns a string, for example, `currentDatabase()`.
- `db_name` — Possible values:
- database name,
- constant expression that returns a string with a database name, for example, `currentDatabase()`,
- `REGEXP(expression)`, where `expression` is a regular expression to match the DB names.
- `tables_regexp` — A regular expression to match the table names in the specified DB or DBs.

View File

@ -14,7 +14,10 @@ merge('db_name', 'tables_regexp')
```
**Arguments**
- `db_name` — Database name or a regular expression to match the DB names. You can use a constant expression that returns a string, for example, `currentDatabase()`.
- `db_name` — Possible values:
- database name,
- constant expression that returns a string with a database name, for example, `currentDatabase()`,
- `REGEXP(expression)`, where `expression` is a regular expression to match the DB names.
- `tables_regexp` — A regular expression to match the table names in the specified DB or DBs.

View File

@ -16,7 +16,10 @@ toc_title: Merge
**Параметры движка**
- `db_name` — имя БД или регулярное выражение для отбора БД. Можно использовать выражение, возвращающее строку с именем БД, например, `currentDatabase()`.
- `db_name` — Возможные варианты:
- имя БД,
- выражение, возвращающее строку с именем БД, например, `currentDatabase()`,
- `REGEXP(expression)`, где `expression` — регулярное выражение для отбора БД.
- `tables_regexp` — регулярное выражение для имен таблиц в указанной БД или нескольких БД.

View File

@ -14,7 +14,10 @@ merge('db_name', 'tables_regexp')
```
**Аргументы**
- `db_name` — имя БД или регулярное выражение для отбора БД. Можно использовать выражение, возвращающее строку с именем БД, например, `currentDatabase()`.
- `db_name` — Возможные варианты:
- имя БД,
- выражение, возвращающее строку с именем БД, например, `currentDatabase()`,
- `REGEXP(expression)`, где `expression` — регулярное выражение для отбора БД.
- `tables_regexp` — регулярное выражение для имен таблиц в указанной БД или нескольких БД.