The SQLite3Stmt class

From Get docs
Php/docs/latest/class.sqlite3stmt


The SQLite3Stmt class

Introduction

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

A class that handles prepared statements for the SQLite 3 extension.

Class synopsis

class SQLite3Stmt {

/* Methods */

private __construct(SQLite3 $sqlite3, string $query)

public bindParam(string|int $param, mixed &$var, int $type = SQLITE3_TEXT): bool
public bindValue(string|int $param, mixed $value, int $type = SQLITE3_TEXT): bool
public clear(): bool
public close(): bool
public execute(): SQLite3Result|false
public getSQL(bool $expand = false): string|false
public paramCount(): int
public readOnly(): bool
public reset(): bool

}

Table of Contents


© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.sqlite3stmt.php