You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem on the server-side. The return value of the call (a new space) contains functions/user data, the Tarantool's msgpack encoder unable to encode it.
You need to use the EvalRequest or you could create a lua-procedure on the server side, something like this:
_G.create_space=function(...)
box.schema.space.create(...)
end
How can we create a space with a call request?
I was trying to do it in this way, but I get an
unsupported Lua type 'function'
error.I tried it with
GetResponse()
and that didn't work either.The text was updated successfully, but these errors were encountered: