pub fn delete_user_list(id: i32, conn: &PgConnection) -> bool {
        diesel::delete(dsl::user_lists.filter(dsl::id.eq(id)))
            .execute(conn)
            .is_ok()
    }
/// Attempts to delete the `UserList` with the given id.
/// Returns true if the delete was successful and false otherwise.
Attempts to delete the `UserList` with the given id.
Returns true if the delete was successful and false otherwise.
Attempts to delete the ` UserList ` with the given id . Returns true if the delete was successful and false otherwise .
pub fn delete_user_list(id: i32, conn: &PgConnection) -> bool {
        diesel::delete(dsl::user_lists.filter(dsl::id.eq(id)))
            .execute(conn)
            .is_ok()
    }
pub fn delete_user_list ( id : i32 , conn : & PgConnection ) -> bool { diesel :: delete ( dsl :: user_lists . filter ( dsl :: id . eq ( id ) ) ) . execute ( conn ) . is_ok ( ) }
Attempts to delete the `UserList` with the given id.
Attempts to delete the ` UserList ` with the given id .
id
i32
conn
&PgConnection
id
i32
conn
&PgConnection