dm_db_detach Function

public function dm_db_detach(db, name) result(rc)

Detaches database from the current connection. If no name is passed for the attached database, the name is assumed to be attached. The function trims the given name string. Returns E_DB_DETACH on error.

Arguments

Type IntentOptional Attributes Name
type(db_type), intent(inout) :: db

Database type.

character(len=*), intent(in), optional :: name

Name of attached database.

Return Value integer


Calls

proc~~dm_db_detach~~CallsGraph proc~dm_db_detach dm_db_detach proc~dm_is_error dm_is_error proc~dm_db_detach->proc~dm_is_error sqlite3_exec sqlite3_exec proc~dm_db_detach->sqlite3_exec