pub fn remove_user_connect_by_id(&self, device_id: &str) -> Result<()> {
        use crate::schema::user_connect::dsl;

        diesel::delete(dsl::user_connect.filter(dsl::device_id.eq(device_id))).execute(self.db)?;

        Ok(())
    }
/// Remove user connect app id berdasarkan user id
Remove user connect app id berdasarkan user id
Remove user connect app id berdasarkan user id
pub fn remove_user_connect_by_id(&self, device_id: &str) -> Result<()> {
        use crate::schema::user_connect::dsl;
        diesel::delete(dsl::user_connect.filter(dsl::device_id.eq(device_id))).execute(self.db)?;
        Ok(())
    }
pub fn remove_user_connect_by_id ( & self , device_id : & str ) -> Result < ( ) > { use crate :: schema :: user_connect :: dsl ; diesel :: delete ( dsl :: user_connect . filter ( dsl :: device_id . eq ( device_id ) ) ) . execute ( self . db ) ? ; Ok ( ( ) ) }
Remove user connect app id berdasarkan user id
Remove user connect app id berdasarkan user id
&self
device_id
&str
&self
device_id
&str