Home
last modified time | relevance | path

Searched refs:pg_select (Results 1 – 8 of 8) sorted by relevance

/PHP-8.0/ext/pgsql/tests/
H A Dpg_select_001.phpt2 PostgreSQL pg_select() - basic test using schema
23 var_dump(pg_select($conn, 'foo', array('id' => 1)));
26 var_dump(pg_select($conn, 'phptests.foo', array('id' => 1)));
29 var_dump(pg_select($conn, 'phptests.bar', array('id' => 1)));
32 var_dump(pg_select($conn, 'phptests.bar', array('id4' => 4)));
35 var_dump(pg_select($conn, 'phptests.bar', array('id4' => 4), 0, PGSQL_NUM));
43 Warning: pg_select(): Table 'foo' doesn't exists in %s on line %d
55 Notice: pg_select(): Invalid field name (id) in values in %s on line %d
H A D13pg_select_9.phpt2 PostgreSQL pg_select() (9.0+)
20 $res = pg_select($db, $table_name, $ids) or print "Error\n";
22 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
23 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING|PGSQL_DML_ESCAPE)."\n";
27 $converted = pg_select($db, $table_name, [5 => 'AAA']);
32 $converted = pg_select($db, $table_name, ['AAA']);
37 $converted = pg_select($db, $table_name, ['num' => []]);
42 $converted = pg_select($db, $table_name, ['num' => new stdClass()]);
47 $converted = pg_select($db, $table_name, ['num' => $db]);
H A D13pg_select.phpt2 PostgreSQL pg_select()
18 $res = pg_select($db, $table_name, $ids) or print "Error\n";
20 echo pg_select($db, $table_name, $ids, PGSQL_DML_STRING)."\n";
H A Dpg_insert_001.phpt2 PostgreSQL pg_select() - basic test using schema
22 var_dump(pg_select($conn, 'phptests.foo', array('id' => 1)));
/PHP-8.0/ext/pgsql/
H A Dphp_pgsql.h161 PHP_FUNCTION(pg_select);
H A Dpgsql_arginfo.h539 ZEND_FUNCTION(pg_select);
656 ZEND_FE(pg_select, arginfo_pg_select)
H A Dpgsql.stub.php515 function pg_select($connection, string $table_name, array $conditions, int $flags = PGSQL_DML_EXEC,… function
H A Dpgsql.c5894 PHP_FUNCTION(pg_select) in PHP_FUNCTION() argument

Completed in 26 milliseconds