[baseten-users] proper way to move objects across database contexts

Jianhua Meng jh_meng at mac.com
Tue Oct 13 03:47:02 EEST 2009


Hi Tuukka,

I have a need to export a database object from an existing context  
(let's call it source context) to a new context.  The motivation for  
doing that is so that I can change the exported object in the new  
context without affecting the state of the source context.

Could I simply change the databaseContext of the exported object to  
the new context? Or should I refetch the desired object from the new  
context?

Thanks for advising.

Jianhua

QuickCeph Systems, Inc



More information about the baseten-users mailing list