Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Operation codes and request ids are omitted everywhere below for brevity.

TABLE_CREATE

...

= 1

TODO: Schema, settings - extendable (map-based)

TODO: Returns table UUID

TABLE_DROP

...

= 2

Request
UUIDtable ID

Response does not have extra data (see basic response above).

TABLES_GET

...

= 3

Request does not have extra data (see basic request above).

Response
intN = table count
N * (UUID + string)pairs of tables ids and names

TABLE_GET

...

= 4

Request
stringtable name


Response
UUIDtable ID

...

TUPLE_

...

UPSERT = 5

Request
UUID

TODO: Do we care about schema?

  1. Field names with values
  2. Schema id with values

...

table ID
map (string → any)key-value pairs

Response does not have extra data (see basic response above).

TODO: Separate key and value maps?

TUPLE_GET = 6

Request
UUIDtable ID
arrvalues for key columns in schema order

TODO: returns schema ID?


Schemas can be cached on the client.

SCHEMAS_GET

...

= 7

gets one or more schemas by table UUID and ids

...