pub fn insert_entity(conn: &Connection, entity: &Entity) -> Result<i64>
Insert a new entity into the database.