Optimized update

Forum for posting problems using QxOrm library

Optimized update

Postby ruddy32 » Sat Dec 11, 2010 1:25 pm

Hi,
Is there a way to optimize update query by updating changed fields only? or telling fields to update?
Thanks
ruddy32
 

Re: Optimized update

Postby QxOrm admin » Mon Dec 13, 2010 8:44 am

Hi,

No this is not a feature provided by QxOrm 1.1.3 today (equivalent to "dynamic-update" of Hibernate).

I don't know what is the best way to implement it in QxOrm (???).
But this is very interesting and will provide to developpers a "isDirty()" method.

If you have idea... :)
QxOrm admin
 

Re: Optimized update

Postby QxOrm admin » Tue Jan 18, 2011 11:49 am

"Optimized update" feature is available with QxOrm 1.1.4 :
- using new "qx::dao::ptr" smart-pointer
- or using new parameter in function "qx::dao::update"
QxOrm admin
 


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 19 guests

cron