public function dm_db_delete_observ(db, observ_id) result(rc)
Deletes observation from database. The function expects the SQLite
trigger delete_observ_trigger as defined in module dm_sql to be
present in the database, in order to delete receivers, requests, and
responses automatically.
The function returns the following error codes:
E_DB_BIND if value binding failed.
E_DB_EXEC if query execution failed (commit).
E_DB_PREPARE if statement preparation failed.
E_DB_ROLLBACK if transaction rollback failed.
E_DB_STEP if step execution failed or no write permission.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.