Skip to content

Commit a1c8639

Browse files
committed
OQL is for persistable entities only.
1 parent 771af05 commit a1c8639

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 entities and the associations between them. It cannot be used to reference non-persistable, external, or view [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)