Skip to content

Commit 4c73266

Browse files
authored
Merge pull request #11121 from mendix/MvM-OQLVersionTable
Create summary table of when OQL features were introduced.
2 parents 22198b5 + b2983bc commit 4c73266

2 files changed

Lines changed: 35 additions & 9 deletions

File tree

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,40 @@ OQL queries do not take security into account out-of-the-box. This means that yo
2828
You can try your OQL example online in the [OQL Playground](https://service.mendixcloud.com/p/OQL) demo app.
2929
{{% /alert %}}
3030

31+
## Version Reference
32+
33+
OQL is under constant development so some expressions and features are not available in all versions. The tables below list features which were not available in Mendix 11.0.0, and note which version introduced them.
34+
35+
### General Features
36+
37+
| Feature | Mendix Version |
38+
| --- | --- |
39+
| Comments | 11.7.0 |
40+
41+
### [OQL Expressions](/refguide/oql-expression-syntax/)
42+
43+
| Feature | Mendix Version |
44+
| --- | --- |
45+
| DATEADD | 11.9.0 |
46+
| DATEPARSE | 11.10.0 |
47+
| DATETRUNC | 11.9.0 |
48+
| LOCATE | 11.9.0 |
49+
| STRING_AGG in View Entities and Datasets | 11.2.0 |
50+
| SUBSTRING | 11.9.0 |
51+
52+
### [OQL Statements](/refguide/oql-statements/){#statement-versions}
53+
54+
The following are bulk update features.
55+
56+
| Feature | Mendix Version |
57+
| --- | --- |
58+
| OQL `DELETE` *beta* | 11.1.0 |
59+
| OQL `UPDATE` attributes *beta* | 11.3.0 |
60+
| OQL `UPDATE` associations *beta* | 11.4.0 |
61+
| OQL `INSERT` attributes *beta* | 11.6.0 |
62+
| OQL `INSERT` associations *beta* | 11.7.0 |
63+
| OQL bulk update *GA* | 11.8.0 |
64+
3165
## Syntax basics
3266

3367
An OQL statement consists of [keywords](#reserved-oql-words), identifiers, [value literals](/refguide/oql-expression-syntax/#oql-literals) and [operators](/refguide/oql-expression-syntax/#oql-operators).

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ This can be much faster than retrieving the objects in a microflow and then upda
1414
This feature is currently only accessible through the Java API by writing a Java action.
1515

1616
{{% alert color="info" %}}
17-
From Mendix version 11.1, you can delete objects in bulk using OQL `DELETE` statements.
18-
19-
From Mendix version 11.3, you can also update object attributes in bulk using OQL `UPDATE` statements.
20-
21-
From Mendix version 11.4, you can update object associations as well as attributes in bulk using OQL `UPDATE` statements.
22-
23-
From Mendix version 11.6, you can insert new objects with attributes in bulk using OQL `INSERT` statements.
24-
25-
In Mendix versions below 11.8, this feature was considered experimental. From Mendix version 11.8, it is generally available.
17+
These statements are not available from Mendix 11.0.0. See the summary in the [Version Reference](/refguide/oql/#statement-versions) section of the *OQL* document, or refer to the individual statements, below, to see which Mendix version you need.
2618
{{% /alert %}}
2719

2820
## Java API for OQL updates

0 commit comments

Comments
 (0)