Method to update the
json_table with an updated JSON encoded string.
Class: bb_database, called as $main
File: bb_database.php (php)
function update_json($con, $lookup, $arr)
$main->update_json($con, $lookup, $arr);
Note: this function had a change in its parameters, two of the parameters were reversed. Please note this change, however, for the time being the old parameter order will work.
Action: Updates JSON row in the json_table.
$con (database connector)
Valid database connection.
Key used to find JSON row for updating in the database.
Valid PHP array to be converted to JSON and stored in database.