Ferreteria/v0.5/@cls/data/card/k1i/cStor/DoUpdate: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
* '''Code''': {{l/ferreteria/code|data/fields/card/k1i/base.php}}
* '''Code''': {{l/ferreteria/code|data/fields/card/k1i/stor.php}}
==History==
==History==
* '''2023-03-24''' Realized that this function does ''not'' belong in the base (cK1I), so moved it.
* '''2023-03-23''' At first I thought this would need separate arguments for values and literals, but actually it should only be used to update data values because it will update memory if locked. Not sure this is good design. Maybe it should do both and then reload. What's the intent, here?
* '''2023-03-23''' At first I thought this would need separate arguments for values and literals, but actually it should only be used to update data values because it will update memory if locked. Not sure this is good design. Maybe it should do both and then reload. What's the intent, here?
* '''2023-02-26''' changing from public to protected
* '''2023-02-26''' changing from public to protected

Revision as of 18:22, 24 March 2023

History

  • 2023-03-24 Realized that this function does not belong in the base (cK1I), so moved it.
  • 2023-03-23 At first I thought this would need separate arguments for values and literals, but actually it should only be used to update data values because it will update memory if locked. Not sure this is good design. Maybe it should do both and then reload. What's the intent, here?
  • 2023-02-26 changing from public to protected
  • 2023-02-20 modified so if record is locked, this just updates the local data
  • 2022-01-03 moved from cRecordKeyed to tStorageK1I
  • 2019-11-26 creating DoUpdate() (and DoInsert()) as a way of transitioning to usage of status-object returns
  • 2019-07-26 moved from fcRecord_keyed_single to fcRecord_keyed, because it should work as long as GetSelfFilter() is defined.
  • 2019-06-11 removed 2nd parameter; massage data with $db->SanitizeValueArray() instead