PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
DataObjects stores result set's as a private global variable, normally this is free'ed after you have run through the results, or at the end of the request. However in some situations, like running queries directly, inserting data, some data is unnecessarly cached.
Using this method will Free All results sets! (so be carefull) it may break running fetch() loops..
You normally only need to use this if you are doing a large number of inserts or queries.
Beispiel 34-1. Freeing resources in a loop
|
Zurück | Zum Anfang | Nach vorne |
->query() | Nach oben | ->selectAdd() |