Skip to content

Commit 27984be

Browse files
committed
Add PATCH support for incrementing
1 parent 597f54a commit 27984be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ character to seperate the database from the table name. The databases 'mysql', '
632632

633633
Incrementing a numeric field of a record is done with the PATCH method (non-numeric fields are ignored).
634634
Decrementing can be done using a negative increment value. The call returns the rows affected.
635-
To add 2 to the field 'visitors' in the 'events' table for record with primary key '1', execute:
635+
To add '2' to the field 'visitors' in the 'events' table for record with primary key '1', execute:
636636

637637
```
638638
PATCH http://localhost/api.php/events/1

0 commit comments

Comments
 (0)