This closes the connection to the database, preventing further queries being called against it. This occurs automatically when the database is deleted.

This provides the error code last encountered by this database when processing a /database/query.

This provides the last error message encountered by this database when processing a /database/query.

/proc/New(filename)
Override - /datum/New
Arguments:
filename: The sqlite file to open, optional

Creates a new database datum. If the filename argument is provided, /database/proc/Open() is automatically called.

/proc/Open(filename)
Arguments:
filename: The sqlite file to open

This opens the provided database file in this database datum. If a connection is already open, it will be closed.