StatementDecorator (class)

Class StatementDecorator

Represents a database statement. Statements contains queries that can be executed multiple times by binding different values on each call. This class also helps convert values to their valid representation for the corresponding types.

This class is but a decorator of an actual statement implementation, such as PDOStatement.

Cake\Database\Statement\StatementDecorator implements Cake\Database\StatementInterface, Countable, IteratorAggregate uses Cake\Database\TypeConverterTrait

Direct known subclasses

Cake\Database\Statement\BufferedStatement, 登录查看完整内容