Skip to content

Commit c4a5719

Browse files
committed
Improve readability
1 parent bbb8f06 commit c4a5719

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ Output:
335335

336336
### Update
337337

338-
Editing a record is done with the PUT method. The call returns the rows affected.
338+
Editing a record is done with the PUT method. The call returns the number of rows affected.
339339

340340
```
341341
PUT http://localhost/api.php/categories/2
@@ -352,7 +352,7 @@ Note that only fields that are specified in the request will be updated.
352352

353353
### Update (with JSON object)
354354

355-
Alternatively you can send a JSON object in the body. The call returns the rows affected.
355+
Alternatively you can send a JSON object in the body. The call returns the number of rows affected.
356356

357357
```
358358
PUT http://localhost/api.php/categories/2
@@ -388,7 +388,7 @@ This call uses a transaction and will either update all or no records. If the tr
388388

389389
### Delete
390390

391-
The DELETE verb is used to delete a record. The call returns the rows affected.
391+
The DELETE verb is used to delete a record. The call returns the number of rows affected.
392392

393393
```
394394
DELETE http://localhost/api.php/categories/2
@@ -402,7 +402,7 @@ Output:
402402

403403
### Delete (multiple)
404404

405-
The DELETE verb can also be used to delete multiple records. The call returns the rows affected for each primary key value specified in the URL.
405+
The DELETE verb can also be used to delete multiple records. The call returns the number of rows affected for each primary key value specified in the URL.
406406

407407
```
408408
DELETE http://localhost/api.php/categories/1,2
@@ -645,7 +645,7 @@ Output:
645645
1
646646
```
647647

648-
The call returns the rows affected. Note that multiple fields can be incremented and batch operations are supported (see: update/PUT).
648+
The call returns the number of rows affected. Note that multiple fields can be incremented and batch operations are supported (see: update/PUT).
649649

650650
## Binary data
651651

0 commit comments

Comments
 (0)