[phpstorm-stubs] WI-74925 add oci_set_prefetch_lob function stub

This commit is contained in:
Ivan Fedorov 2023-11-03 13:31:13 +01:00
parent 3b4c0b0701
commit 7d1ce85e74
2 changed files with 13 additions and 0 deletions

View File

@ -4400,6 +4400,7 @@ const FUNCTIONS = array (
'oci_set_edition' => 'oci8/oci8.php',
'oci_set_module_name' => 'oci8/oci8.php',
'oci_set_prefetch' => 'oci8/oci8.php',
'oci_set_prefetch_lob' => 'oci8/oci8v3.php',
'oci_statement_type' => 'oci8/oci8.php',
'oci_unregister_taf_callback' => 'oci8/oci8.php',
'ocibindbyname' => 'oci8/oci8.php',

View File

@ -392,3 +392,15 @@ function oci_set_call_timeout($connection, int $time_out) {}
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
*/
function oci_set_db_operation($connection, string $dbop) {}
/**
* Sets the size of the LOB column that will be prefetched by OCI8 when executing a query.
* This can improve performance when working with large LOB data.
*
* @param resource $statement The OCI8 statement resource.
* @param int $prefetch_lob_size The size of the LOB column, in bytes, to be prefetched.
* @return bool Returns TRUE on success or FALSE on failure.
* @link https://php.net/manual/en/function.oci-set-prefetch-lob.php
* @since 8.2
*/
function oci_set_prefetch_lob($statement, int $prefetch_lob_size): bool {}