oci_set_prefetch

(PHP 5)

oci_set_prefetch -- 设置预提取行数

说明

bool oci_set_prefetch ( resource statement [, int rows] )

在成功调用 oci_execute() 之后设定预提取的行数。rows 的默认值为 1。

注: 在 PHP 5.0.0 之前的版本必须使用 ocisetprefetch() 替代本函数。该函数名仍然可用,为向下兼容作为 oci_set_prefetch() 的别名。不过其已被废弃,不推荐使用。

如果成功则返回 TRUE,失败则返回 FALSE

参见 oci8_.default_prefetch INI 选项。


add a note add a note User Contributed Notes
There are no user contributed notes for this page.