THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Request | |
---|---|
string | table name |
Response | |
---|---|
UUID | table ID |
...
...
Request | |
---|---|
UUID | table ID |
arr | schema IDs |
Response | |
---|---|
map ( |
...
int → array (array)) | Map from schema ID to columns. Column is represented by an array of values for: name, type, isKey. The array can contain extra data in future for additional properties. |
...
...
Request | |
---|---|
UUID | table ID |
int | schema ID |
arr | values for all columns in given schema (nil when value is missing for a column) |
Basic response.
Client side is supposed to match provided columns against the latest known schema. If all columns match, TUPLE_UPSERT_WITH_SCHEMA operation can be performed. Otherwise, when there are new columns, TUPLE_UPSERT is performed
...
Request | |
---|---|
UUID | table ID |
arr | values for key columns (any order) |
...
Clients should retrieve schemas with SCHEMAS_GET and cache them per table.
...
TODO
...