Module spin_sdk.mysql

Module for interacting with a MySQL database

Functions

def open(connection_string: str) ‑> Connection

Open a connection with a MySQL database.

The connection_string is the MySQL URL connection string.

A Err(Error_ConnectionFailed(str)) when a connection fails.

A Err(Error_Other(str)) when some other error occurs.