Inserts or replaces given sensor sync data into database.
The function returns the following error codes:
E_DB_BIND
if value binding failed.E_DB_PREPARE
if statement preparation failed.E_DB_STEP
if step execution failed or no write permission.E_INVALID
if sync type is invalid.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(sync_type), | intent(inout) | :: | sync |
Sync data to insert. |