DB_common::freePrepared() -- Releases resources associated with a prepared SQL statement
Описание
Removes the memory occupied by the internal notations that keep track
of prepared SQL statements.
Does not delete the DB_result
object itself.
Параметр
- resource
$stmt
statement resource identifier returned from
prepare()
Возвращаемое значение
boolean - Возвращает TRUE в случае успеха и FALSE при неудаче.
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 22-1. Using freePrepared() <?php
// Once you have a valid DB object named $db...
$sth = $db->prepare('INSERT INTO numbers (number) VALUES (?)');
$db->execute($sth, 1);
$db->freePrepared($sth);
?> |
|
HIVE: All information for read only. Please respect copyright! |