Jump to:

22972 Posts in 11596 Topics by 2824 members

General Questions

SilverStripe Forums » General Questions » Archive DataObject

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 735 Views
  • micahsheets
    Avatar
    Community Member
    164 Posts

    Archive DataObject Link to this post

    I have a DataObject that after a time needs to be archived. The way I had thought of doing this is just moving the table row for the object into another database table kind of like how versions or the live and draft works. However I don't know how those things are accomplished. Would I create a new DataObject and copy all the data from the old one to the new ArchiveDataObject? Or can I just cast on to another?

    Is there a mysql command for moving table rows from one table to another?

    735 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.