Refresh or refetch IxModel

Forum for posting problems using QxOrm library

Refresh or refetch IxModel

Postby jimmytaker » Wed Dec 28, 2016 1:16 am

The following scenario - the DB is changed by other means. How can I make a model just refresh its contents with the exact same SELECT it executed the first time, just to get the changes from the DB? Would be beneficial if it can update its nested models as well, but if it is not automatic, I hope to still be able to use the same approach on calling it on a nested model.
I want to be able to create a Refresh button and connect it to a slot.
Thx!
jimmytaker
 
Posts: 19
Joined: Fri Dec 23, 2016 11:04 pm

Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron