Closed atomi closed 8 years ago
ExecSql requires you to use "actor mytype(myactor) create; INSERT INTO ...."
We recommend using the ExecSingle/ExecSingleParam calls. This way you can specify the actor using parameters. I'm not a go programmer but it should look like this:
var flags [1]string
flags[0] = "create"
ExecSingle("myactor","mytype", "INSERT INTO...",flags)
Calls are documented in the thrift file: https://github.com/biokoda/actordb/blob/master/adbt.thrift
WFM. Thanks.
I'm learning all about thrift and actordb and I'm trying to get a basic INSERT going. Here is the golang code I have
I can login and connect to a single running actordb but it fails on clientFactory.ExecSql
<nil> InvalidRequestException({Code:Error Info:})
I'm hoping to test multiple connections and multiple instances I couldn't find any documentation on thrift/actordb specific api (I've just been going off the generated code) any advice would be appreciated. I can help with a blog post or two about my experience for others interested. Thanks.