Connection¶
Functions for managing database connections in VAST Orbit.
Functions¶
Important
For a comprehensive guide to creating connections, see Connection.
Read¶
Automatically creates a connection using the auto-connection. |
|
Displays all available connections. |
|
|
Connects to the database. |
Returns the current database connection. |
|
Returns the current database cursor. |
|
Gets (and creates, if necessary) the auto-connection file. |
|
|
Parses the input DSN and returns the linked Config Parser. |
|
Reads the DSN information from the |
|
Reads the input DSN and creates a VAST DataBase connection using Trino. |
Returns the vastorbitLab connection, if possible. |
Write¶
|
Changes the current auto connection. |
|
Saves the new connection in the vastorbit connection file. |
|
Saves a custom connection to the vastorbit object. |
Close/Delete¶
Closes the connection to the database. |
|
|
Deletes a specified connection from the connection file. |
Global Connection¶
Main Class to store the Global Connection used by all vastorbit objects. |
Methods:
Returns the current connection. |
|
Returns the current dsn. |
|
Returns the current dsn section. |
|
|
Sets the current connection. |