tarantool.ex icon indicating copy to clipboard operation
tarantool.ex copied to clipboard

support for `eval` command + examples

Open mindreframer opened this issue 6 years ago • 0 comments

currently I cant figure out the proper way to call eval:

test "should eval expression", %{t: t} do
    Tarantool.Api.eval(t, %{expr: 'return "hola"', tuple: [""]}) |> IO.inspect()  
end
>> {:error, 32788, "Invalid MsgPack - packet body"}

Any help / docs on this?

mindreframer avatar Feb 20 '19 23:02 mindreframer