From ac4c93ef2cca0848b9c5f9c3d58c92ea0e997b87 Mon Sep 17 00:00:00 2001 From: Yaroslav Dynnikov <yaroslav.dynnikov@gmail.com> Date: Tue, 11 Jun 2024 11:07:55 +0300 Subject: [PATCH 1/2] case.svg: fix links ```diff - xlink:href="../select/#expression" + xlink:href="#expression" ``` --- docs/images/ebnf/case.svg | Bin 30013 -> 29973 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/docs/images/ebnf/case.svg b/docs/images/ebnf/case.svg index 692da1360a67ed22ffdcf73de5254f8e17b09043..5cee39b2922a0ca22c562af0ab60570066bec123 100644 GIT binary patch delta 41 scmdn{igD^I#tpVYljEaIH`fS#69Y3gYOV$`%r?()*eSU=KI)zn0D*iG3;+NC delta 85 zcmbRGigE8N#tpVYTzY!?#i==|$tC)mZH2VOk@%Bsg-kck)m$xxE>`QXOA=iyCu*e> E0MaWQdH?_b -- GitLab From e040d48868168a5b846ee52cb64098b8aa42072b Mon Sep 17 00:00:00 2001 From: Yaroslav Dynnikov <yaroslav.dynnikov@gmail.com> Date: Tue, 11 Jun 2024 11:16:29 +0300 Subject: [PATCH 2/2] reference/sql: remove spoilers --- docs/reference/sql/aggregate.md | 12 ++++-------- docs/reference/sql/alter_procedure.md | 6 ++---- docs/reference/sql/call.md | 6 ++---- docs/reference/sql/case.md | 12 ++++-------- docs/reference/sql/cast.md | 18 ++++++------------ docs/reference/sql/create_procedure.md | 6 ++---- docs/reference/sql/create_table.md | 6 ++---- docs/reference/sql/delete.md | 12 ++++-------- docs/reference/sql/drop_procedure.md | 6 ++---- docs/reference/sql/grant.md | 6 ++---- docs/reference/sql/insert.md | 13 ++++--------- docs/reference/sql/revoke.md | 6 ++---- docs/reference/sql/select.md | 18 ++++++------------ docs/reference/sql/trim.md | 12 ++++-------- docs/reference/sql/update.md | 12 ++++-------- docs/reference/sql/values.md | 12 ++++-------- 16 files changed, 54 insertions(+), 109 deletions(-) diff --git a/docs/reference/sql/aggregate.md b/docs/reference/sql/aggregate.md index 1eb61e19..95c8564d 100644 --- a/docs/reference/sql/aggregate.md +++ b/docs/reference/sql/aggregate.md @@ -7,17 +7,13 @@ ![AGGREGATE](../../images/ebnf/aggregate.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Функции {: #functions } diff --git a/docs/reference/sql/alter_procedure.md b/docs/reference/sql/alter_procedure.md index 49434af3..b7c2145c 100644 --- a/docs/reference/sql/alter_procedure.md +++ b/docs/reference/sql/alter_procedure.md @@ -7,11 +7,9 @@ ![ALTER PROCEDURE](../../images/ebnf/alter_procedure.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![type](../../images/ebnf/type.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/call.md b/docs/reference/sql/call.md index 2ba80255..b13dec66 100644 --- a/docs/reference/sql/call.md +++ b/docs/reference/sql/call.md @@ -7,11 +7,9 @@ ![CALL](../../images/ebnf/call.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/case.md b/docs/reference/sql/case.md index 444bae77..694614ac 100644 --- a/docs/reference/sql/case.md +++ b/docs/reference/sql/case.md @@ -7,17 +7,13 @@ ![CASE](../../images/ebnf/case.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Выражение CASE Ñ ÑƒÑловиÑми {: #case_searched } diff --git a/docs/reference/sql/cast.md b/docs/reference/sql/cast.md index aa446923..8a7ff844 100644 --- a/docs/reference/sql/cast.md +++ b/docs/reference/sql/cast.md @@ -7,23 +7,17 @@ ![CAST](../../images/ebnf/cast.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![type](../../images/ebnf/type.svg) ## Примеры {: #examples } diff --git a/docs/reference/sql/create_procedure.md b/docs/reference/sql/create_procedure.md index fd402aa3..41cc5221 100644 --- a/docs/reference/sql/create_procedure.md +++ b/docs/reference/sql/create_procedure.md @@ -15,11 +15,9 @@ ![CREATE PROCEDURE](../../images/ebnf/create_procedure.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![type](../../images/ebnf/type.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/create_table.md b/docs/reference/sql/create_table.md index 3ec7409d..cf27e2c4 100644 --- a/docs/reference/sql/create_table.md +++ b/docs/reference/sql/create_table.md @@ -7,11 +7,9 @@ ![Create table](../../images/ebnf/create_table.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![type](../../images/ebnf/type.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/delete.md b/docs/reference/sql/delete.md index 6881ef3f..f8639151 100644 --- a/docs/reference/sql/delete.md +++ b/docs/reference/sql/delete.md @@ -6,17 +6,13 @@ ![Delete](../../images/ebnf/delete.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/drop_procedure.md b/docs/reference/sql/drop_procedure.md index 67a499bc..2e49cad2 100644 --- a/docs/reference/sql/drop_procedure.md +++ b/docs/reference/sql/drop_procedure.md @@ -7,11 +7,9 @@ ![DROP PROCEDURE](../../images/ebnf/drop_procedure.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![type](../../images/ebnf/type.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/grant.md b/docs/reference/sql/grant.md index 995179e1..59ea0ceb 100644 --- a/docs/reference/sql/grant.md +++ b/docs/reference/sql/grant.md @@ -8,11 +8,9 @@ ![GRANT privilege](../../images/ebnf/grant.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![Ttype](../../images/ebnf/type.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/insert.md b/docs/reference/sql/insert.md index a6b22af3..7716891b 100644 --- a/docs/reference/sql/insert.md +++ b/docs/reference/sql/insert.md @@ -8,17 +8,13 @@ ![Insert](../../images/ebnf/insert.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Параметры {: #params } @@ -128,4 +124,3 @@ SQL](non_block.md). ЕÑли речь идет о запроÑе на вÑтав в `decimal 2.5`). Ð’ параметризированном виде дробнному чиÑлу будет назначен типа Ñ Ð¿Ð»Ð°Ð²Ð°ÑŽÑ‰ÐµÐ¹ запÑтой (например, `values(?), {2.5}` в `double 2.5`). См. [подробнее](../sql_types.md) о типах данных. - diff --git a/docs/reference/sql/revoke.md b/docs/reference/sql/revoke.md index 3460dde3..c58b187f 100644 --- a/docs/reference/sql/revoke.md +++ b/docs/reference/sql/revoke.md @@ -8,11 +8,9 @@ ![REVOKE privilege](../../images/ebnf/revoke.svg) -### Тип {: #type } +#### type -<details><summary>Диаграмма</summary><p> -![Type](../../images/ebnf/type.svg) -</p></details> +![type](../../images/ebnf/type.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/select.md b/docs/reference/sql/select.md index 1094a7a3..dad5bb42 100644 --- a/docs/reference/sql/select.md +++ b/docs/reference/sql/select.md @@ -15,23 +15,17 @@ ![Select](../../images/ebnf/select.svg) -### ÐŸÑ€Ð¾ÐµÐºÑ†Ð¸Ñ {: #projection } +#### projection -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/projection.svg) -</p></details> +![projection](../../images/ebnf/projection.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/trim.md b/docs/reference/sql/trim.md index 09044698..e776c086 100644 --- a/docs/reference/sql/trim.md +++ b/docs/reference/sql/trim.md @@ -9,17 +9,13 @@ ![TRIM](../../images/ebnf/trim.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/update.md b/docs/reference/sql/update.md index e48fa7da..37db77f2 100644 --- a/docs/reference/sql/update.md +++ b/docs/reference/sql/update.md @@ -14,17 +14,13 @@ ![Update](../../images/ebnf/update.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Параметры {: #params } diff --git a/docs/reference/sql/values.md b/docs/reference/sql/values.md index a6343414..b59e3a75 100644 --- a/docs/reference/sql/values.md +++ b/docs/reference/sql/values.md @@ -7,17 +7,13 @@ ![VALUES](../../images/ebnf/values.svg) -### Выражение {: #expression } +#### expression -<details><summary>Диаграмма</summary><p> -![Expression](../../images/ebnf/expression.svg) -</p></details> +![expression](../../images/ebnf/expression.svg) -### Литерал {: #literal } +#### literal -<details><summary>Диаграмма</summary><p> -![Literal](../../images/ebnf/literal.svg) -</p></details> +![literal](../../images/ebnf/literal.svg) ## Примеры {: #examples } -- GitLab