diff --git a/content/en/docs/refguide/modeling/domain-model/oql/_index.md b/content/en/docs/refguide/modeling/domain-model/oql/_index.md index 3987ef3c23c..15b0cc0336c 100644 --- a/content/en/docs/refguide/modeling/domain-model/oql/_index.md +++ b/content/en/docs/refguide/modeling/domain-model/oql/_index.md @@ -28,6 +28,40 @@ OQL queries do not take security into account out-of-the-box. This means that yo You can try your OQL example online in the [OQL Playground](https://service.mendixcloud.com/p/OQL) demo app. {{% /alert %}} +## Version Reference + +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. + +### General Features + +| Feature | Mendix Version | +| --- | --- | +| Comments | 11.7.0 | + +### [OQL Expressions](/refguide/oql-expression-syntax/) + +| Feature | Mendix Version | +| --- | --- | +| DATEADD | 11.9.0 | +| DATEPARSE | 11.10.0 | +| DATETRUNC | 11.9.0 | +| LOCATE | 11.9.0 | +| STRING_AGG in View Entities and Datasets | 11.2.0 | +| SUBSTRING | 11.9.0 | + +### [OQL Statements](/refguide/oql-statements/){#statement-versions} + +The following are bulk update features. + +| Feature | Mendix Version | +| --- | --- | +| OQL `DELETE` *beta* | 11.1.0 | +| OQL `UPDATE` attributes *beta* | 11.3.0 | +| OQL `UPDATE` associations *beta* | 11.4.0 | +| OQL `INSERT` attributes *beta* | 11.6.0 | +| OQL `INSERT` associations *beta* | 11.7.0 | +| OQL bulk update *GA* | 11.8.0 | + ## Syntax basics 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). diff --git a/content/en/docs/refguide/modeling/domain-model/oql/oql-statements.md b/content/en/docs/refguide/modeling/domain-model/oql/oql-statements.md index d50f5c64b4e..f35d0ddb5c8 100644 --- a/content/en/docs/refguide/modeling/domain-model/oql/oql-statements.md +++ b/content/en/docs/refguide/modeling/domain-model/oql/oql-statements.md @@ -14,15 +14,7 @@ This can be much faster than retrieving the objects in a microflow and then upda This feature is currently only accessible through the Java API by writing a Java action. {{% alert color="info" %}} -From Mendix version 11.1, you can delete objects in bulk using OQL `DELETE` statements. - -From Mendix version 11.3, you can also update object attributes in bulk using OQL `UPDATE` statements. - -From Mendix version 11.4, you can update object associations as well as attributes in bulk using OQL `UPDATE` statements. - -From Mendix version 11.6, you can insert new objects with attributes in bulk using OQL `INSERT` statements. - -In Mendix versions below 11.8, this feature was considered experimental. From Mendix version 11.8, it is generally available. +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. {{% /alert %}} ## Java API for OQL updates