verticapy.connection.close_connection#
- verticapy.connection.close_connection() None #
Closes the connection to the database.
Examples#
Close all current connections:
Warning
When you close the connection, your session will terminate and all temporary elements will be automatically dropped.
from verticapy.connection import close_connection close_connection()
See also
current_connection()
: Returns the current VerticaPy connection.set_connection()
: Sets the VerticaPy connection.