Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update bulk operations to return indices of rows that were not deleted/updated

...

Request
UUIDtable ID
intschema ID
valuesvalues for all columns in given schema (nil when value is missing for a column)


Response
boolInsert result

TUPLE_INSERT_SCHEMALESS = 19

Request
UUIDtable ID
maptuple as map


Response
boolInsert result

TUPLE_INSERT_ALL = 20

Request
UUIDtable ID
intschema ID
introw count
valuesrows with values for all columns in given schema (nil when value is missing for a column)


valuesskipped rows
Response
arr of int
row count
indices (in the request) of skipped rows, or nil when none were skipped

TUPLE_INSERT_ALL_SCHEMALESS = 21

Request
UUIDtable ID
arr of maparray of tuples


valuesskipped rows
Response
arr of int
row count
indices (in the request array) of skipped rows, or nil when none were skipped

TUPLE_REPLACE = 22

Request
UUIDtable ID
intschema ID
valuesvalues for all columns in given schema (nil when value is missing for a column)

...

Request
UUIDtable ID
intschema ID
introw count
valuesrows with values for key columns in given schema


schema ID for all tuples response)
Response
arr of intIndices (in
introw count
valuesRecords the request) of rows that were not deleted: rows with values in schema order.

TUPLE_DELETE_EXACT = 30

Request
UUIDtable ID
intschema ID
valuesvalues for all columns in given schema (nil when value is missing for a column)

...

Request
UUIDtable ID
intschema ID
introw count
valuesrows with values for all columns in given schema (nil when value is missing for a column)


Response
arr of int
schema ID
Indices (
for all tuples
in
response)introw countvaluesRecords
the request) of rows that were not deleted
: rows with values in schema order.

TUPLE_GET_AND_DELETE = 32

...