Searched refs:query (Results 126 – 150 of 469) sorted by relevance
12345678910>>...19
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug70066.phpt | 19 $db = $pdo->query('SELECT DATABASE()')->fetchColumn(0); 22 $pdo->query('USE ' . $db);
|
H A D | bug_61207.phpt | 2 PDO MySQL Bug #61207 (PDO::nextRowset() after a multi-statement query doesn't always work) 15 $db->query('DROP TABLE IF EXISTS test'); 16 $db->query('create table `test`( `id` int )'); 83 $db->query("DROP TABLE test");
|
H A D | pdo_mysql_subclass.phpt | 27 public function query() { 29 return call_user_func_array(array($this, 'parent::query'), func_get_args()); 57 $stmt = $db->query('SELECT * FROM test ORDER BY id ASC'); 82 query('SELECT * FROM test ORDER BY id ASC')
|
H A D | bug66528.phpt | 22 $stmt = $dbh->query('SELECT * FROM test'); 49 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti… 50 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti… 51 …ely, if your code is only ever going to run against mysql, you may enable query buffering by setti…
|
H A D | bug_33689.phpt | 2 PDO MySQL Bug #33689 (query() execute() and fetch() return false on valid select queries) 19 var_dump($db->query('SELECT * from test')); 20 foreach ($db->query('SELECT * from test') as $row) {
|
H A D | bug_41997.phpt | 12 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC); 30 $stmt = $db->query("CALL p()"); 36 $stmt = $db->query('SELECT 2 AS "two"');
|
H A D | bug_38546.phpt | 23 $query = "CREATE TABLE test( 29 $db->exec($query); 52 foreach ($db->query('SELECT * from test') as $row) { 78 foreach ($db->query('SELECT * from test') as $row) { 104 foreach ($db->query('SELECT * from test') as $row) { 131 foreach ($db->query('SELECT * from test') as $row) { 158 foreach ($db->query('SELECT * from test') as $row) { 185 foreach ($db->query('SELECT * from test') as $row) {
|
H A D | pdo_mysql_errorinfo.phpt | 40 or PDO->query() and invoke an error on the statement handle, 48 $stmt = $db->query('SELECT id, label FROM test'); 59 @$stmt = $db->query('SELECT id, label FROM unknown'); 63 $stmt = $db->query('SELECT id, label FROM test'); 69 @$db->query('SELECT id, label FROM unknown');
|
H A D | pdo_mysql_stmt_rowcount.phpt | 17 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount())) 20 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount()))
|
H A D | bug_74376.phpt | 22 $stmt = $db->query("select (select 1 union select 2)"); 28 Warning: PDO::query(): SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 ro…
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | bug77935.phpt | 14 $db->query('DROP PROCEDURE IF EXISTS testSp'); 15 $db->query(<<<'SQL'
|
H A D | bug34810.phpt | 22 $mysql->query("DROP TABLE IF EXISTS test_warnings"); 23 $mysql->query("CREATE TABLE test_warnings (a int not null)"); 24 $mysql->query("SET sql_mode=''"); 25 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
|
H A D | mysqli_pconn_limits.phpt | 21 printf("[001] Cannot run query, [%d] %s\n", 33 printf("[003] Cannot run query, [%d] %s\n", 47 printf("[005] Cannot run query, [%d] %s\n", 60 printf("[007] Cannot run query, [%d] %s\n", 74 printf("[009] Cannot run query, [%d] %s\n",
|
/PHP-7.4/ext/pdo/tests/ |
H A D | pdo_030.phpt | 52 function query($sql) 55 return parent::query($sql); 77 $stmt = $db->query('SELECT * FROM test'); 108 PDODatabase::query()
|
H A D | bug_34687.phpt | 2 PDO Common: Bug #34687 (query doesn't return error information) 18 $x = $db->query("UPDATE non_existent_pdo_test_table set foo = 'bar'");
|
/PHP-7.4/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_2a.phpt | 17 $query = "begin execute immediate 'drop table pdo_oci_stream_2'; exception when others then if sqlc… 18 $stmt = $db->prepare($query); 21 $query = "create table pdo_oci_stream_2 (id number, data1 blob, data2 blob)"; 22 $stmt = $db->prepare($query);
|
/PHP-7.4/ext/sqlite3/tests/ |
H A D | sqlite3_04_update.phpt | 2 SQLite3::query UPDATE tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_05_delete.phpt | 2 SQLite3::query DELETE tests 19 $results = $db->query("SELECT * FROM test ORDER BY id ASC"); 30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
|
H A D | sqlite3_20_error.phpt | 11 $result = $db->query("SELECT * FROM non_existent_table"); 23 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %s …
|
H A D | bug69972.phpt | 11 $result = $db->query("SELECT * FROM non_existent_table"); 23 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %sb…
|
/PHP-7.4/ext/pdo_pgsql/tests/ |
H A D | bug66584.phpt | 20 $pdo->query("CREATE TABLE b66584 (a int)"); 21 $pdo->query("INSERT INTO b66584 VALUES (165)"); 40 $pdo->query("DROP TABLE b66584");
|
/PHP-7.4/ext/pdo_dblib/tests/ |
H A D | datetime_convert.phpt | 16 $stmt = $db->query($sql); 22 $stmt = $db->query($sql);
|
H A D | datetime2.phpt | 17 $stmt = $db->query($sql); 22 $stmt = $db->query($sql);
|
/PHP-7.4/ext/pdo_sqlite/tests/ |
H A D | bug_63916.phpt | 12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))'); 19 $stmt = $conn->query('SELECT num FROM users');
|
/PHP-7.4/ext/pdo_firebird/tests/ |
H A D | bug_76450.phpt | 21 $query = $dbh->prepare($sql); 23 $query->execute();
|
Completed in 37 milliseconds
12345678910>>...19