This may sound weird but not after you understand why I need this. I'm linking youtube videos in my app, as you know sometimes YT videos get removed, so I have to remove them from my app but still have a reference to them.Is there an easy way remove an entity instance to another, say from YTVideo to DeletedYTVideo? Or, do I have to create a new class with a copy constructor for this?
--
You received this message because you are subscribed to the Google Groups "objectify-appengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objectify-appen...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I've also used a boolean or enum flag before for 'deleted', so you can run your queries as normal, including data/stats across both active and deleted results.You'd need to update your queries to exclude deleted records in the general case.
On 10 May 2013 17:13, Jeff Schnitzer <je...@infohazard.org> wrote:
New class with copy constructor. It can extend a common base class (or the other entity class) to share structure and behavior.Jeff
On Thu, May 9, 2013 at 10:03 PM, Mo <m4de...@gmail.com> wrote:
This may sound weird but not after you understand why I need this. I'm linking youtube videos in my app, as you know sometimes YT videos get removed, so I have to remove them from my app but still have a reference to them.Is there an easy way remove an entity instance to another, say from YTVideo to DeletedYTVideo? Or, do I have to create a new class with a copy constructor for this?
--
You received this message because you are subscribed to the Google Groups "objectify-appengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objectify-appengine+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "objectify-appengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objectify-appengine+unsub...@googlegroups.com.