DatabaseStatementPrefetch::$fetchStyle

Holds the current fetch style (which will be used by the next fetch).

Type: int

See also

PDOStatement::fetch()

File

includes/database/prefetch.inc, line 95

Class

DatabaseStatementPrefetch
An implementation of DatabaseStatementInterface that prefetches all data.

Code

protected $fetchStyle = PDO::FETCH_OBJ;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.