php8.5
Home/ Manual/ reference / pdo/ The PDOStatement class

The PDOStatement class

Represents a prepared statement and, after the statement is executed, an associated result set.

Intro

Represents a prepared statement and, after the statement is executed, an associated result set.

Class synopsis

class PDOStatement implements IteratorAggregate { }

Properties

queryString

Used query string.

Changelog

VersionDescription
8.0.0PDOStatement implements IteratorAggregate now instead of Traversable.

Pdostatement

In this section

Source: reference/pdo/pdostatement.xml · from the official PHP manual (php/doc-en)