Any built in way to do lazy deletes?

2009-01-09 Thread Arthur Pemberton

Lazy deletes being setting a field appropriately so that the row is
'deleted' but still in the database.

-- 
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Any built in way to do lazy deletes?

2009-01-09 Thread Bernardo Vieira

Try the delatable behavior. Not built in, but close. 
http://bakery.cakephp.org/articles/view/soft-delete-behavior

Arthur Pemberton wrote:
 Lazy deletes being setting a field appropriately so that the row is
 'deleted' but still in the database.

   


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Any built in way to do lazy deletes?

2009-01-09 Thread Arthur Pemberton

On Fri, Jan 9, 2009 at 12:56 PM, Bernardo Vieira
bvieira.li...@gmail.com wrote:

 Try the delatable behavior. Not built in, but close.
 http://bakery.cakephp.org/articles/view/soft-delete-behavior

 Arthur Pemberton wrote:
 Lazy deletes being setting a field appropriately so that the row is
 'deleted' but still in the database.


Thanks, will take a look. Just have some data I rather lazy delete
than delete if feasible.

-- 
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---