(
&self,
collection: &str,
id: &str,
)
| 75 | } |
| 76 | |
| 77 | pub(super) async fn document_delete_impl( |
| 78 | &self, |
| 79 | collection: &str, |
| 80 | id: &str, |
| 81 | ) -> NodeDbResult<()> { |
| 82 | let collection = quote_identifier(collection); |
| 83 | let sql = format!("DELETE FROM {collection} WHERE id = $1"); |
| 84 | self.execute_raw(&sql, &[&id]).await?; |
| 85 | Ok(()) |
| 86 | } |
| 87 | } |
no test coverage detected