|
@@ -51,7 +51,7 @@ This is a single file application! Upload "api.php" somewhere and enjoy!
|
51
|
51
|
- Pagination, sorting and column selection
|
52
|
52
|
- Relation detection and filtering on foreign keys
|
53
|
53
|
- Relation "transforms" for PHP and JavaScript
|
54
|
|
- - Atomic increment and decrement support via PATCH
|
|
54
|
+ - Atomic increment support via PATCH (for counters)
|
55
|
55
|
- Binary fields supported with base64 encoding
|
56
|
56
|
- Spatial/GIS fields and filters supported with WKT
|
57
|
57
|
- 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
|
628
|
628
|
This can be enabled by NOT specifying a database in the configuration. Also the permissions in the configuration should contain a dot
|
629
|
629
|
character to seperate the database from the table name. The databases 'mysql', 'information_schema' and 'sys' are automatically blocked.
|
630
|
630
|
|
631
|
|
-## Atomic increment
|
|
631
|
+## Atomic increment (for counters)
|
632
|
632
|
|
633
|
633
|
Incrementing a numeric field of a record is done with the PATCH method (non-numeric fields are ignored).
|
634
|
634
|
Decrementing can be done using a negative increment value. The call returns the rows affected.
|