Skip to content

Commit

Permalink
doc: update delete doc (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Ikhsan <muhammad.ikhsan@efishery.com>
  • Loading branch information
pararang and Muhammad Ikhsan committed Jul 24, 2022
1 parent ea98ee6 commit 8de8d6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
...
Expand All @@ -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{
Expand All @@ -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
...
Expand Down

0 comments on commit 8de8d6f

Please sign in to comment.