From 701eb540a5887fdfe68dcfb482d78b3f72517a29 Mon Sep 17 00:00:00 2001 From: mevdschee Date: Wed, 22 Feb 2017 09:28:29 +0100 Subject: [PATCH] Updated for unstructured data --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 162020a..c5eb95e 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ This is a single file application! Upload "api.php" somewhere and enjoy! - Atomic increment support via PATCH (for counters) - Binary fields supported with base64 encoding - Spatial/GIS fields and filters supported with WKT + - Unstructured data support through JSON/JSONB/XML - Generate API documentation using Swagger tools - Authentication via JWT token or username/password (via [PHP-API-AUTH](https://github.com/mevdschee/php-api-auth)) @@ -734,6 +735,10 @@ PUT http://localhost/api.php/users/1 In the above example you see how a [WKT string](https://en.wikipedia.org/wiki/Well-known_text) is sent. +## Unstructured data support + +You may store JSON documents in JSON (MySQL), JSONB (PostgreSQL) or XML (SQL Server) field types in the database. +These documents have no schema. Whitespace in the structure is not maintained. ## Sending NULL