-
Example 13 shows the
source code for storing the Bid's cached state back to the DB
-
As with the previous code, this is called from a wrapper that sets up an
appropriate environment
-
Very straightforward
-
Check to see whether cached instance data has been modified
-
Update each column with value from instance data
-
Use the primary key to select which row to modify
-
Note the use (again) of the utility routine SQLForm()
|