Skip to content

Commit 2a89206

Browse files
committed
Break doesn't have label, leave does
1 parent f3bc4dc commit 2a89206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/sql.extensions/README.range_based_for.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FOR <variable> = <initial value> {TO | DOWNTO} <final value> [BY <by value>] DO
1818
- If omitted, `<by value>` is `1`.
1919
- `<variable>` also accepts parameters.
2020
- `<variable>`, `<initial value>`, `<final value>` and `<by value>` must be expressions of exact numeric types.
21-
- `BREAK [<label>]` can be used to exit the loop.
21+
- `BREAK` or `LEAVE [<label>]` can be used to exit the loop.
2222
- `CONTINUE [<label>]` can be used to restart the next loop iteration.
2323
- `<variable>` can be assigned by user code inside the loop.
2424

0 commit comments

Comments
 (0)