Home
last modified time | relevance | path

Searched refs:query (Results 176 – 200 of 529) sorted by relevance

12345678910>>...22

/PHP-8.1/ext/sqlite3/tests/
H A Dsqlite3_05_delete.phpt2 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 Dbug69972.phpt9 $result = $db->query("SELECT * FROM non_existent_table");
21 Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: non_existent_table in %sb…
/PHP-8.1/ext/pdo_dblib/tests/
H A Dbatch_stmt_ins_exec.phpt16 $db->query("create table #php_pdo(id int); ");
17 $db->query(
26 $stmt = $db->query(
H A Ddatetime2.phpt18 $stmt = $db->query($sql);
23 $stmt = $db->query($sql);
H A Dstringify_uniqueidentifier.phpt32 $stmt = $db->query($sql);
42 $stmt = $db->query($sql);
56 $stmt = $db->query($sql);
/PHP-8.1/ext/pdo_mysql/tests/
H A Dbug63185.phpt26 $st = $pdo->query('CALL test_procedure_error_at_second()');
36 $st = $pdo->query('CALL test_procedure_error_at_second()');
50 $pdo->query('DROP PROCEDURE IF EXISTS test_procedure_error_at_second');
H A Dbug_33689.phpt2 PDO MySQL Bug #33689 (query() execute() and fetch() return false on valid select queries)
21 var_dump($db->query('SELECT * from test'));
22 foreach ($db->query('SELECT * from test') as $row) {
H A Dbug_41997.phpt11 $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 Dpdo_mysql_errorinfo.phpt41 or PDO->query() and invoke an error on the statement handle,
49 $stmt = $db->query('SELECT id, label FROM test');
60 @$stmt = $db->query('SELECT id, label FROM unknown');
64 $stmt = $db->query('SELECT id, label FROM test');
70 @$db->query('SELECT id, label FROM unknown');
H A Dpdo_mysql_stmt_multiquery.phpt2 PDOStatements and multi query
16 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B…
25 …$stmt = $db->query('SELECT label FROM test ORDER BY id ASC LIMIT 1; SELECT label FROM test ORDER B…
101 Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in…
H A Dbug53782.phpt20 $res = $conn->query('SELECT 0');
23 $conn->query('ERROR');
H A Dpdo_mysql_stmt_rowcount.phpt18 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount()))
21 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount()))
H A Dbug_pecl_7976.phpt12 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
32 $stmt = $db->query('CALL p()');
36 $stmt = $db->query('CALL p()');
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_pconn_limits.phpt21 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",
H A Dbug34810.phpt24 $mysql->query("DROP TABLE IF EXISTS test_warnings");
25 $mysql->query("CREATE TABLE test_warnings (a int not null)");
26 $mysql->query("SET sql_mode=''");
27 $mysql->query("INSERT INTO test_warnings VALUES (1),(2),(NULL)");
H A Dbug55283.phpt23 if ($res = $link->query('SHOW VARIABLES LIKE "have_ssl"')) {
26 if ($link->errno == 1064 && ($res = $link->query("SHOW VARIABLES"))) {
55 $r = $link->query("SHOW STATUS LIKE 'Ssl_cipher'");
63 $r2 = $link2->query("SHOW STATUS LIKE 'Ssl_cipher'");
/PHP-8.1/ext/mysqli/
H A Dmysqli.stub.php254 public function multi_query(string $query): bool {} argument
286 public function prepare(string $query): mysqli_stmt|false {} argument
292 …public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {} argument
332 public function real_query(string $query): bool {} argument
605 public function __construct(mysqli $mysql, ?string $query = null) {} argument
710 public function prepare(string $query): bool {} argument
911 function mysqli_multi_query(mysqli $mysql, string $query): bool {} argument
936 function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {} argument
941 function mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli… argument
960 function mysqli_real_query(mysqli $mysql, string $query): bool {} argument
[all …]
/PHP-8.1/ext/pdo/tests/
H A Dbug_79106.phpt15 if (@$db->query('SELECT 1 as "1"') === false) {
25 $stmt = $db->query('SELECT 0 as "2007", 0 as "2008", 0 as "2020"');
H A Dbug_79106_collision.phpt15 if (@$db->query('SELECT 1 as "1"') === false) {
25 $stmt = $db->query('SELECT 11111 as "1", 22222 as "2"');
H A Dbug_34687.phpt2 PDO Common: Bug #34687 (query doesn't return error information)
19 $x = $db->query("UPDATE non_existent_pdo_test_table set foo = 'bar'");
H A Dbug_64172.phpt24 $db->query('SELECT * FROM bad_table');
31 $stmt = $db->query('SELECT * FROM test');
52 Warning: PDO::query(): SQLSTATE[%s]: %s
/PHP-8.1/ext/pdo_pgsql/tests/
H A Dbug72633.phpt21 $db->query('CREATE TABLE test_last_id (id SERIAL NOT NULL, field1 VARCHAR(10))');
36 $db->query('DROP TABLE test_last_id');
/PHP-8.1/ext/pdo_sqlite/tests/
H A Dbug_63916-2.phpt13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
20 $stmt = $conn->query('SELECT num FROM users');
H A Dbug_63916.phpt13 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
20 $stmt = $conn->query('SELECT num FROM users');
/PHP-8.1/sapi/fpm/tests/
H A Dbug64539-status-json-encoding.phpt32 ['query' => 'a=b"c'],
33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],

Completed in 93 milliseconds

12345678910>>...22