Skip to content

Commit c48e335

Browse files
authored
Clarify comment usage in OQL for Mendix 11.7.0+
Updated the comments section in OQL documentation to specify that comments are supported in Mendix version 11.7.0 and above, and clarified the syntax for single-line and multi-line comments.
1 parent d60a0fc commit c48e335

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • content/en/docs/refguide/modeling/domain-model/oql

content/en/docs/refguide/modeling/domain-model/oql/_index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ Identifiers are used for module, entity, attribute, association, and alias names
3636

3737
Multiple identifiers can be composed into a path, separated by special characters `.` and `/`. The `.` special character can be used to indicate the module and entity in the form `Module.Entity`. The `/` special character can be used to indicate the attribute of an entity in the form `Module.Entity/Attribute` and it can be used for separating associations in long paths. Examples of paths can be seen in the [Select from Multiple Tables using JOIN](/refguide/oql-clauses/#join) section of *OQL Clauses*.
3838

39-
Comments can be used in OQL queries to improve readability. Single-line comments start with `--`. Multi-line comments are enclosed by `/* and */` and support nesting. Comments are ignored during query execution.
39+
In Mendix version 11.7.0 and above, comments can be used in OQL queries to improve readability. Comments are ignored during query execution. There are two ways to add comments:
40+
41+
* Single-line comments start with `--`.
42+
* Multi-line comments are enclosed by `/*` and `*/` and support nesting.
4043

4144
### Reserved Words {#reserved-oql-words}
4245

0 commit comments

Comments
 (0)