Name

finish( )

Synopsis

$statement_handle->finish( )

This ends a statement handle given that was established by the prepare( ) method. There are no arguments to the method.

$sth->finish( );

Although a statement handle may have been closed with finish( ), more statement handles may be created and executed as long as the database handle has not been closed using disconnect( ).

Get MySQL in a Nutshell 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.