interface mysql { use rdbms-types.{parameter-value, row-set, error}; /// A connection to a MySQL database. resource connection { /// Open a connection to the MySQL instance at `address`. open: static func(address: string) -> result; /// query the database: select query: func(statement: string, params: list) -> result; /// execute command to the database: insert, update, delete execute: func(statement: string, params: list) -> result<_, error>; } }