Skip to content

Commit

Permalink
Automatically regenerate the files
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored and shish committed Dec 3, 2024
1 parent d5a54a8 commit a2a4072
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generated/pgsql.php
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,8 @@ function pg_result_seek($result, int $row): void
* @param string $table_name Name of the table from which to select rows.
* @param array $conditions An array whose keys are field names in the table table_name,
* and whose values are the conditions that a row must meet to be retrieved.
* As of PHP 8.4.0, when an empty array is provided, no conditions will apply.
* Previously, the function failed with an empty conditions argument.
* @param int $flags Any number of PGSQL_CONV_FORCE_NULL,
* PGSQL_DML_NO_CONV,
* PGSQL_DML_ESCAPE,
Expand All @@ -1256,7 +1258,7 @@ function pg_result_seek($result, int $row): void
* @throws PgsqlException
*
*/
function pg_select($connection, string $table_name, array $conditions, int $flags = PGSQL_DML_EXEC, int $mode = PGSQL_ASSOC)
function pg_select($connection, string $table_name, array $conditions = [], int $flags = PGSQL_DML_EXEC, int $mode = PGSQL_ASSOC)
{
error_clear_last();
$safeResult = \pg_select($connection, $table_name, $conditions, $flags, $mode);
Expand Down

0 comments on commit a2a4072

Please sign in to comment.