(PECL CUBRID >= 8.3.0)
cubrid_unbuffered_query — Perform a query without fetching the results into memory
This function performs a query without waiting for that all query results have been complete. It will return when the results are being generated.
A SQL query.
The CUBRID connection. If the connection identifier is not specified, the last connection opened by cubrid_connect() is assumed.
For SELECT, SHOW, DESCRIBE or EXPLAIN statements returns a request identifier resource on success.
For other type of SQL statements, UPDATE, DELETE, DROP, etc, returns
TRUE on success.
FALSE on failure.
Örnek 1 cubrid_unbuffered_query() example
$link = cubrid_connect("localhost", 30000, "demodb", "dba", "");
die('Could not connect.');
$query = "select * from code";
$result = cubrid_unbuffered_query($query, $link);
while ($row = cubrid_fetch($result))