From 8de8d6f68373da774ee795fdfc71528c02f6bda9 Mon Sep 17 00:00:00 2001 From: Muhammad Ikhsan Date: Sun, 24 Jul 2022 16:16:20 +0800 Subject: [PATCH] doc: update delete doc (#16) Co-authored-by: Muhammad Ikhsan --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1dbff44..e2db98d 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ resp, err := sc.Update("Sheet1", UpdateParams{ // handle err and do something with resp ... ``` -#### Update with multiple condition +#### Update with multiple conditions All `Condition` will be translated to `AND` condition. ```go ... @@ -117,7 +117,7 @@ resp, err := sc.Update("Sheet1", UpdateParams{ ### Delete The delete operation return int64 that indicate the number of rows that was deleted. #### Delete single row -`Limit 1` indicate to update only the first row that match the `Condition`. +`Limit 1` indicate to delete only the first row that match the `Condition`. ```go ... resp, err := sc.Delete("Sheet1", DeleteParams{ @@ -129,7 +129,7 @@ resp, err := sc.Delete("Sheet1", DeleteParams{ // handle err and do something with resp ... ``` -#### Update with multiple condition +#### Delete with multiple conditions All `Condition` will be translated to `AND` condition. ```go ...