(
&self,
collection: &str,
id: &str,
)
| 71 | } |
| 72 | |
| 73 | pub(super) async fn document_delete_impl( |
| 74 | &self, |
| 75 | collection: &str, |
| 76 | id: &str, |
| 77 | ) -> NodeDbResult<()> { |
| 78 | let mut conn = self.pool.acquire().await?; |
| 79 | conn.send( |
| 80 | OpCode::PointDelete, |
| 81 | TextFields { |
| 82 | collection: Some(collection.to_string()), |
| 83 | document_id: Some(id.to_string()), |
| 84 | ..Default::default() |
| 85 | }, |
| 86 | ) |
| 87 | .await?; |
| 88 | Ok(()) |
| 89 | } |
| 90 | } |
no test coverage detected