略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SQLite3Stmt::clear

2024-11-14

SQLite3Stmt::clear

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

SQLite3Stmt::clearClears all current bound parameters

说明

public SQLite3Stmt::clear(): bool

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

警告

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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sqlite3stmt.clear.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3