Searched refs:FETCH_KEY_PAIR (Results 1 – 3 of 3) sorted by relevance
2 PDO Common: PDO::FETCH_KEY_PAIR fetch mode test24 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…
2 PDO Common: Bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode)25 $res->setFetchMode(PDO::FETCH_KEY_PAIR);
159 public const FETCH_KEY_PAIR = UNKNOWN; define in PDO
Completed in 11 milliseconds