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

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

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