|
1 | 1 | --- |
2 | | -title: "Reference" |
3 | | -description: "A single page with every SQL command, function, type, and keyword." |
| 2 | +title: "SQL commands" |
| 3 | +description: "SQL commands reference." |
4 | 4 | disable_list: true |
| 5 | +menu: |
| 6 | + main: |
| 7 | + identifier: "commands" |
| 8 | + parent: "reference" |
| 9 | + weight: 100 |
| 10 | + |
5 | 11 | --- |
6 | 12 |
|
7 | | -[//]: # "TODO(morsapaes) Re-hash this page into something more useful, and add it as an Overview sub-menu under Reference" |
| 13 | +## Create/Alter/Drop Objects |
| 14 | + |
| 15 | +{{< sql-commands-table-by-label label="object" group_by="object" >}} |
| 16 | + |
| 17 | +## Create/Read/Update/Delete Data |
| 18 | + |
| 19 | +The following commands perform CRUD operations on materialized views, views, |
| 20 | +sources, and tables: |
| 21 | + |
| 22 | +{{< yaml-table data="sql_commands_crud" noHeader=true >}} |
| 23 | + |
| 24 | +## RBAC |
| 25 | + |
| 26 | +Commands to manage roles and privileges: |
| 27 | + |
| 28 | +{{< yaml-table data="sql_commands_rbac" noHeader=true >}} |
| 29 | + |
| 30 | + |
| 31 | +## Query Introspection (`Explain`) |
| 32 | + |
| 33 | +{{< yaml-list data="sql_commands_all" label="explain" numColumns="1" >}} |
| 34 | + |
| 35 | +## Object Introspection (`SHOW`) { #show } |
8 | 36 |
|
9 | | -We want Materialize to be easy to use, so we designed it to work with SQL. However, every database implements SQL a little differently, and none matches the full standard. In general, we model our implementation after PostgreSQL. |
| 37 | +{{< yaml-list data="sql_commands_all" label="show" numColumns="3" >}} |
10 | 38 |
|
11 | | -This section is a reference that details the SQL commands and features we support. |
| 39 | +## Session |
12 | 40 |
|
13 | | -## Architecture |
| 41 | +Commands related with session state and configurations: |
14 | 42 |
|
15 | | -- [Data types](./types) |
16 | | -- [Functions + operators](./functions) |
17 | | -- [Identifiers](./identifiers) |
18 | | -- [Namespaces](./namespaces) |
19 | | -- [System catalog](./system-catalog) |
20 | | -- [Isolation level](./isolation-level) |
| 43 | +{{< yaml-list data="sql_commands_all" label="session" numColumns="1" >}} |
21 | 44 |
|
22 | | -## Statements |
| 45 | +## Validations |
23 | 46 |
|
24 | | -To see information about a statement, select it in the left nav bar. |
| 47 | +{{< yaml-list data="sql_commands_all" label="other" >}} |
0 commit comments