Skip to content

Commit b796dde

Browse files
authored
Merge pull request mendix#9174 from mendix/MvM-OQLPersistentOnly
OQL is for persistable and view entities only.
2 parents 77182f9 + 3ee37c4 commit b796dde

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The Mendix Object Query Language (OQL) is a relational query language inspired b
1010

1111
In addition, OQL can use predefined relations (associations) to easily join objects without having to calculate which columns should be coupled. Despite these differences, many SQL keywords also work in OQL.
1212

13+
{{% alert color="info" %}}
14+
OQL can only be used on persistable and view entities and the associations between them. It cannot be used with non-persistable or external [entities](/refguide/entities/).
15+
{{% /alert %}}
16+
1317
Some examples of OQL queries are:
1418

1519
* `SELECT LastName FROM Sales.Customer` – retrieves the family names of all customers

0 commit comments

Comments
 (0)