pub fn insert_execution_log(
conn: &Connection,
log: &ExecutionLog,
) -> Result<i64>Expand description
Insert an execution log entry into the database.
§Arguments
conn- Database connectionlog- Execution log entry to insert
§Returns
Returns the database row ID of the inserted entry.
§Errors
Returns an error if:
- The execution_id already exists in the database
- JSON serialization fails
- Database insertion fails