Solar_Sql_Adapter::disconnect()

public void Solar_Sql_Adapter::disconnect ( void )

Closes the database connection.

Parameters

  • None.

Returns

  • (void)

Description

Closes the database connection.

This isn't generally necessary as PHP will automatically close the connection in the end of the script execution, but it can be useful to free resources when a script needs to connect tomultiple databases in sequence.



Local