Skip to content

Commit 9c45a12

Browse files
committed
Fix rendering on 2.1 create datase and delete pages
1 parent b62c695 commit 9c45a12

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

v2.1/create-database.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Only the `root` user can create databases.
1313

1414
## Synopsis
1515

16-
{% include {{ page.version.version }}/sql/diagrams/create_database.html %}
16+
<div>
17+
{% include {{ page.version.version }}/sql/diagrams/create_database.html %}
18+
</div>
1719

1820
## Parameters
1921

v2.1/delete.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The user must have the `DELETE` and `SELECT` [privileges](privileges.html) on th
1717

1818
## Synopsis
1919

20-
{% include {{ page.version.version }}/sql/diagrams/delete.html %}
21-
22-
<div markdown="1"></div>
20+
<div>
21+
{% include {{ page.version.version }}/sql/diagrams/delete.html %}
22+
</div>
2323

2424
## Parameters
2525

@@ -29,23 +29,23 @@ table td:first-child {
2929
}
3030
</style>
3131

32-
Parameter | Description
32+
Parameter | Description
3333
-----------|-------------
3434
`common_table_expr` | See [Common Table Expressions](common-table-expressions.html).
3535
`table_name` | The name of the table that contains the rows you want to update.
3636
`AS table_alias_name` | An alias for the table name. When an alias is provided, it completely hides the actual table name.
3737
`WHERE a_expr`| `a_expr` must be an expression that returns Boolean values using columns (e.g., `<column> = <value>`). Delete rows that return `TRUE`.<br><br/>__Without a `WHERE` clause in your statement, `DELETE` removes all rows from the table.__
3838
`sort_clause` | An `ORDER BY` clause. See [Ordering Query Results](query-order.html) for more details.
3939
`limit_clause` | A `LIMIT` clause. See [Limiting Query Results](limit-offset.html) for more details.
40-
`RETURNING target_list` | Return values based on rows deleted, where `target_list` can be specific column names from the table, `*` for all columns, or computations using [scalar expressions](scalar-expressions.html). <br><br>To return nothing in the response, not even the number of rows updated, use `RETURNING NOTHING`.
40+
`RETURNING target_list` | Return values based on rows deleted, where `target_list` can be specific column names from the table, `*` for all columns, or computations using [scalar expressions](scalar-expressions.html). <br><br>To return nothing in the response, not even the number of rows updated, use `RETURNING NOTHING`.
4141

4242
## Success responses
4343

4444
Successful `DELETE` statements return one of the following:
4545

46-
Response | Description
46+
Response | Description
4747
-----------|-------------
48-
`DELETE` _`int`_ | _int_ rows were deleted.<br><br>`DELETE` statements that do not delete any rows respond with `DELETE 0`. When `RETURNING NOTHING` is used, this information is not included in the response.
48+
`DELETE` _`int`_ | _int_ rows were deleted.<br><br>`DELETE` statements that do not delete any rows respond with `DELETE 0`. When `RETURNING NOTHING` is used, this information is not included in the response.
4949
Retrieved table | Including the `RETURNING` clause retrieves the deleted rows, using the columns identified by the clause's parameters.<br><br>[See an example.](#return-deleted-rows)
5050

5151
## Disk space usage after deletes

0 commit comments

Comments
 (0)