Welcome Guest, Not a member yet? Register   Sign In
closeCursor() or not ?
#1

[eluser]souri84[/eluser]
Hello,

I have a new question but maybe isn't the best place to post it...

To optimize performances, in PDO, we can (must ?) to closeCursor() like:

Code:
$query->prepare(...);
...
$query->execute(array(...));
$query->fetchAll();
$query->closeCursor();

It's necessary to closeCursor in codeIgniter or it's automatic ?

thanks for your answers,

Thibaut




Theme © iAndrew 2016 - Forum software by © MyBB