Determines whether “auto commit” is enabled for the current database connection
Enables/disables “auto commit” (if available on the underlying database)
Shutdown the database current connection
Establishes a fresh connection to the database
Gets the current connection status
Executes the provided SQL statement
Prepares the passed SQL statement
Commits the current transaction
Rolls back the current transaction
Begins a database transaction (Requires support by the underlying database, of course)
Database Driver API specification
Specifies a unified interface for database client implementations.
There is no reason to use this. Exists for documentation purposes only.
Feel free to implement drivers using structs.
oceandrift is designed to work with anything that corresponds to the API shown here.