LeftJoinModel QML Type

Proxy model joining two models in a SQL LEFT JOIN fasion. More...

Import Statement: import QtModelsToolkit .

Properties

Detailed Description

It allows joining two models similarly as two tables can be joined in SQL using LEFT JOIN operation. Established join is fully dynamic - all changes in source models are reflected in the output model.

Property Documentation

joinRole : any

This property holds the name of the role used for matching between left and right model. Both left and right models must contain role of that name.


leftModel : any

This property holds the left model used for the join. It's also base model because the proxy contains all data from the left model and the same row count.


rightModel : any

This property holds the right model used for the join. Only the rows that match the left model are used.


rolesToJoin : any

This property holds the names of the roles intended to be joined from the right model. Those names must be different than role names of the left model.