Compare commits
No commits in common. "4a2f98a1805f9adac3969744d4e55368fed81b69" and "b28d5b840ff593eb1b59fdf9c0e7644577d3c002" have entirely different histories.
4a2f98a180
...
b28d5b840f
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
use diesel::{
|
||||
ExpressionMethods, Insertable, QueryDsl, Queryable, Selectable, SelectableHelper, delete,
|
||||
insert_into,
|
||||
ExpressionMethods, Insertable, QueryDsl, Queryable, Selectable, SelectableHelper, insert_into,
|
||||
};
|
||||
use diesel_async::RunQueryDsl;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
@ -195,7 +194,7 @@ impl Member {
|
|||
}
|
||||
|
||||
pub async fn delete(self, conn: &mut Conn) -> Result<(), Error> {
|
||||
delete(guild_members::table)
|
||||
diesel::delete(guild_members::table)
|
||||
.filter(guild_members::uuid.eq(self.uuid))
|
||||
.execute(conn)
|
||||
.await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue