some work in branches/join_models

git-svn-id: svn://ttmath.org/publicrep/morm/branches/join_models@1190 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2019-05-13 03:12:31 +00:00
parent 6d9b9045fe
commit 34ddf11351
9 changed files with 66 additions and 3 deletions

View File

@@ -152,6 +152,9 @@ public:
{
try
{
if( model_data )
model_data->current_column = 0;
result.model_data = model_data;
result.before_select();
res = select_status;
@@ -283,6 +286,9 @@ protected:
try
{
if( model_data )
model_data->current_column = 0;
added_model.set_connector(model_connector);
added_model.clear();
added_model.set_save_mode(Model::DO_UPDATE_ON_SAVE); // IMPROVE ME check if there is a primary key