with cakephp, is it possible to update the sql action instead of delete (I would like to set some kind of flag, so it looks like it was deleted)?
tnx in adv !!!
It is quite simple using callbacks. A less manual approach, however, would be to grab SoftDeletable and customize it to meet any special needs you may have.
Just create a delete / disable column and update it when you delete, you will need to set the condition delete / disable true for all search requests
Source: https://habr.com/ru/post/1311714/More articles:Should I create a new extension for the xml file? - xmlhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1311710/using-pointers-references-handles-to-generic-datatypes-as-generic-and-flexible-as-possible&usg=ALkJrhiSWJU8caXlBYc05cvWY-dOKhoNTwfastest SCM tool available for firmware development - version-controlPython and IronPython on the same machine? - python"OutputPath property not set" error occurs only when MSBuild is called in CCNET - cruisecontrol.netFailed to include ntifs.h in win32 project - cDjango: Inherit from abstract models? - djangoJava - Which Business Intelligence (BI) platform can I integrate into commercial software for free? - javaWhat does a static link to the library do? - c ++CSS style text library - javascriptAll Articles