Difference between save_with_all_relation and save_with_rela
Hi,
I would like to have some details on these two functions because I'm trying to save some data and it doesn't behave the same way. I have an object with one relation (two tables in database). If I write:
the two tables are correctly updated, but if I write
only the main table is updated. Is there something I missed?
I would like to have some details on these two functions because I'm trying to save some data and it doesn't behave the same way. I have an object with one relation (two tables in database). If I write:
- Code: Select all
qx::dao::save_with_all_relation(dao);
the two tables are correctly updated, but if I write
- Code: Select all
qx::dao::save_with_relation_recursive(dao);
only the main table is updated. Is there something I missed?