Hello,
-
qx::dao::save_with_all_relation : save your instance in database + 1 level of relationships.
-
qx::dao::save_with_relation_recursive : this function was developed for a customer who wanted to insert very quickly a complex tree structure (starting from a root instance with several levels of relationships).
The second parameter of this function is
qx::dao::save_mode::e_save_mode eSaveMode, with following possible values :
*
qx::dao::save_mode::e_check_insert_or_update (default value) ;
*
qx::dao::save_mode::e_insert_only (to improve performance if you know that you are just inserting items in database) ;
*
qx::dao::save_mode::e_update_only (to improve performance if you know that you are just updating items in database).
only the main table is updated. Is there something I missed ?
This is not normal, maybe a bug in QxOrm library.
Just FYI, maybe you already saw it, there is a section about relationships in QxOrm manual here :
http://www.qxorm.com/qxorm_en/manual.html#manual_380