SQLite3Stmt::clear

(PHP 5 >= 5.3.0, PHP 7)

SQLite3Stmt::clearClears all current bound parameters

说明

public SQLite3Stmt::clear ( void ) : bool

Clears all current bound parameters (sets them to NULL).

Caution

This method needs to be used with SQLite3Stmt::reset(). If used alone, any call to SQLite3Stmt::bindValue() or SQLite3Stmt::bindParam() will be of no effect and all bound parameters will have the NULL value.

参数

此函数没有参数。

返回值

Returns TRUE on successful clearing of bound parameters, FALSE on failure.

User Contributed Notes

There are no user contributed notes for this page.