updateClob

Support for this function is limited. See the Feature Comparison Matrix

Syntax
mixed updateClob(
    string $tableName,
    string $columnName,
    string $clobValue,
    string $whereStatement,
)

Description

The function updateClob() updates a column specified by $columnName in an row of a table, specified by $tableName with a value specified by $clobValue.

$where

The where statement must match a row, or set of rows in the table.


Usage

/*
 * Connection assumed
 */
$tableName = 'textfiles';
$columnName = 'text_data';
 
$clob = file_get_contents('/temp/test.txt');
 
 
$db->updateClob($tableName,$columnName,$clob,"ID=140")