Skip to main content

insert_event

Function insert_event 

Source
pub fn insert_event(conn: &Connection, event: &Event) -> Result<i64>
Expand description

Insert an event into the database.

ยงErrors

Returns an error if the insert fails.