Name
Method: close( )
Signature
close( )
Synopsis
Closes the cursor explicitly. Once closed, a cursor will throw a
ProgrammingError
if any operation is attempted on
the cursor.
Example
cursor = connection.cursor( ); cursor.close( );
Get Managing & Using MySQL, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.