I found a problem with "Model Relation".
Model relation only works if the key of a DB table is linked to the source table.
Example works:
read data: read_table
all matching
SourceTable Model: SourceModel
ID: SourceModel.id
in relation >
relation model name: Model_1
Database table name: #_testtable
Relation to: SourceModel
One matching record, foreign key in related model
SourceModel.id = Model_1.mod_id
Example not working:
read data: read_table
all matching
SourceTable Model: SourceModel
ID: SourceModel.id
in relation >
relation model name: Model_1
Database table name: #_testtable
Relation to: SourceModel
One matching record, foreign key in related model
SourceModel.id = Model_1.mod_id
relation model name: Model_2
Database table name: #_datatable
Relation to: Model_1
One matching record, foreign key in related model
Model_2.data_id = Model_1.mod_id
How does model relation work from the "2nd level"?
F.