equal
deleted
inserted
replaced
104 }) |
104 }) |
105 .ignore(&mut connection) |
105 .ignore(&mut connection) |
106 .await |
106 .await |
107 } |
107 } |
108 |
108 |
109 pub async fn store_achievements(&mut self, achievements: &Achievements) -> mysql_async::Result<()> { |
109 pub async fn store_achievements( |
|
110 &mut self, |
|
111 achievements: &Achievements, |
|
112 ) -> mysql_async::Result<()> { |
110 Ok(()) |
113 Ok(()) |
111 } |
114 } |
112 |
115 |
113 pub async fn get_replay_name(&mut self, replay_id: u32) -> mysql_async::Result<Option<String>> { |
116 pub async fn get_replay_name(&mut self, replay_id: u32) -> mysql_async::Result<Option<String>> { |
114 let mut connection = self.pool.get_conn().await?; |
117 let mut connection = self.pool.get_conn().await?; |