Home
last modified time | relevance | path

Searched refs:FETCH_KEY_PAIR (Results 1 – 3 of 3) sorted by relevance

/PHP-8.2/ext/pdo/tests/
H A Dpdo_034.phpt2 PDO Common: PDO::FETCH_KEY_PAIR fetch mode test
24 var_dump($db->query("SELECT a,b FROM test")->fetch(PDO::FETCH_KEY_PAIR));
25 var_dump($db->query("SELECT a,b FROM test")->fetchAll(PDO::FETCH_KEY_PAIR));
26 var_dump($db->query("SELECT * FROM test")->fetch(PDO::FETCH_KEY_PAIR));
27 var_dump($db->query("SELECT a,a FROM test")->fetchAll(PDO::FETCH_KEY_PAIR));
48 Warning: PDOStatement::fetch(): SQLSTATE[HY000]: General error: PDO::FETCH_KEY_PAIR fetch mode requ…
H A Dbug_42917.phpt2 PDO Common: Bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode)
25 $res->setFetchMode(PDO::FETCH_KEY_PAIR);
/PHP-8.2/ext/pdo/
H A Dpdo_dbh.stub.php159 public const FETCH_KEY_PAIR = UNKNOWN; define in PDO

Completed in 10 milliseconds