Revert "added capability to pass WriteParams to delete"

This reverts commit 1415d1a23a.
This commit is contained in:
albertlockett
2024-07-19 11:25:57 -03:00
parent 2e1f4bfc62
commit c011539905
5 changed files with 9 additions and 10 deletions

View File

@@ -124,7 +124,7 @@ impl Table {
#[napi(catch_unwind)]
pub async fn delete(&self, predicate: String) -> napi::Result<()> {
self.inner_ref()?.delete(&predicate, None).await.map_err(|e| {
self.inner_ref()?.delete(&predicate).await.map_err(|e| {
napi::Error::from_reason(format!(
"Failed to delete rows in table {}: predicate={}",
self.name, e