Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Classe « connection »

Méthode MySQLdb.connection.next_result

Signature de la méthode next_result

Description

next_result.__doc__

If more query results exist, next_result() reads the next query
results and returns the status back to application.

After calling next_result() the state of the connection is as if
you had called query() for the next query. This means that you can
now call store_result(), warning_count(), affected_rows()
, and so forth. 

Returns 0 if there are more results; -1 if there are no more results

Non-standard.