dm_db_get_foreign_keys Function

public function dm_db_get_foreign_keys(db, enabled) result(rc)

Returns status of foreign keys contraint in enabled.

The function returns the following error codes:

  • E_DB_PREPARE if statement preparation failed.
  • E_DB_STEP if step execution failed.
  • E_DB_TYPE if query result is of unexpected type.

Arguments

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

Database type.

logical, intent(out) :: enabled

Foreign keys constraint is enabled.

Return Value integer


Calls

proc~~dm_db_get_foreign_keys~~CallsGraph proc~dm_db_get_foreign_keys dm_db_get_foreign_keys sqlite3_column_int sqlite3_column_int proc~dm_db_get_foreign_keys->sqlite3_column_int sqlite3_column_type sqlite3_column_type proc~dm_db_get_foreign_keys->sqlite3_column_type sqlite3_finalize sqlite3_finalize proc~dm_db_get_foreign_keys->sqlite3_finalize sqlite3_prepare_v2 sqlite3_prepare_v2 proc~dm_db_get_foreign_keys->sqlite3_prepare_v2 sqlite3_step sqlite3_step proc~dm_db_get_foreign_keys->sqlite3_step