diff options
author | bazeltsev <bazeltsev@ydb.tech> | 2022-07-12 10:00:34 +0300 |
---|---|---|
committer | bazeltsev <bazeltsev@ydb.tech> | 2022-07-12 10:00:34 +0300 |
commit | 0484538d7ccce6110c822e48d1ddb4b731b60a9c (patch) | |
tree | 2c748e0a48154b3b069d61a102b2d96459c43933 | |
parent | 4dc0555cc39ba230a5d0024d014b77e3fd8e2209 (diff) | |
download | ydb-0484538d7ccce6110c822e48d1ddb4b731b60a9c.tar.gz |
Fix create table format
fixed
-rw-r--r-- | ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/create_table.md | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/create_table.md b/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/create_table.md index b4c5eb5f53..772ddf812c 100644 --- a/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/create_table.md +++ b/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/create_table.md @@ -10,23 +10,22 @@ The `CREATE TABLE` call creates a {% if concept_table %}[table]({{ concept_table CREATE TABLE table_name ( column1 type1, - {% if feature_not_null == true %} column2 type2 NOT NULL,{% else %} column2 type2,{% endif %} -... -columnN typeN, + ... + columnN typeN, {% if feature_secondary_index == true %} -INDEX index1_name GLOBAL ON ( column ), -INDEX index2_name GLOBAL ON ( column1, column2, ... ), + INDEX index1_name GLOBAL ON ( column ), + INDEX index2_name GLOBAL ON ( column1, column2, ... ), {% endif %} {% if feature_map_tables %} -PRIMARY KEY (column, ...), -FAMILY column_family () + PRIMARY KEY (column, ...), + FAMILY column_family () {% else %} -... + ... {% endif %} -) + ) {% if feature_map_tables %} -WITH ( key = value, ... ) + WITH ( key = value, ... ) {% endif %} ## Columns {#columns} |