Skip to content

Commit 8de8d6f

Browse files
pararangMuhammad Ikhsan
andauthored
doc: update delete doc (#16)
Co-authored-by: Muhammad Ikhsan <muhammad.ikhsan@efishery.com>
1 parent ea98ee6 commit 8de8d6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ resp, err := sc.Update("Sheet1", UpdateParams{
9797
// handle err and do something with resp
9898
...
9999
```
100-
#### Update with multiple condition
100+
#### Update with multiple conditions
101101
All `Condition` will be translated to `AND` condition.
102102
```go
103103
...
@@ -117,7 +117,7 @@ resp, err := sc.Update("Sheet1", UpdateParams{
117117
### Delete
118118
The delete operation return int64 that indicate the number of rows that was deleted.
119119
#### Delete single row
120-
`Limit 1` indicate to update only the first row that match the `Condition`.
120+
`Limit 1` indicate to delete only the first row that match the `Condition`.
121121
```go
122122
...
123123
resp, err := sc.Delete("Sheet1", DeleteParams{
@@ -129,7 +129,7 @@ resp, err := sc.Delete("Sheet1", DeleteParams{
129129
// handle err and do something with resp
130130
...
131131
```
132-
#### Update with multiple condition
132+
#### Delete with multiple conditions
133133
All `Condition` will be translated to `AND` condition.
134134
```go
135135
...

0 commit comments

Comments
 (0)