Skip to content

Commit 62c028c

Browse files
committed
Added "for counters" to clarify common use-case
1 parent 89c095a commit 62c028c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This is a single file application! Upload "api.php" somewhere and enjoy!
5151
- Pagination, sorting and column selection
5252
- Relation detection and filtering on foreign keys
5353
- Relation "transforms" for PHP and JavaScript
54-
- Atomic increment and decrement support via PATCH
54+
- Atomic increment support via PATCH (for counters)
5555
- Binary fields supported with base64 encoding
5656
- Spatial/GIS fields and filters supported with WKT
5757
- Generate API documentation using Swagger tools
@@ -628,7 +628,7 @@ The code also supports multi-database API's. These have URLs where the first seg
628628
This can be enabled by NOT specifying a database in the configuration. Also the permissions in the configuration should contain a dot
629629
character to seperate the database from the table name. The databases 'mysql', 'information_schema' and 'sys' are automatically blocked.
630630

631-
## Atomic increment
631+
## Atomic increment (for counters)
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.

0 commit comments

Comments
 (0)