User Tools

Site Tools


Sidebar

inserts_upserts:errors

Q. I suggest two possible errors when doing an upsert: it is illegal to modify a primary-key field and it is illegal to use upsert on a space that has a unique secondary index.

I’m curious to know why Tarantool does not support these if there is a unique secondary index.


A. In these cases, we must check the input arguments against the space schema, which is quite expensive.

Comments

Enter your comment. Wiki syntax is allowed:
I Y F Y V
 
inserts_upserts/errors.txt · Last modified: 2018/05/01 14:09 by eabates

Real Time Web Analytics