VoltDB / voltdb-client-go

VoltDB Golang Client Library
MIT License
32 stars 19 forks source link

Can't marshal int-type parameters? #66

Open dxvgef opened 3 years ago

dxvgef commented 3 years ago

I met panic, execute the following code:

var qType int = 1
rows, err = conn.QueryTimeout("@AdHoc", []driver.Value{
        "select test_field from test_table WHERE test_type=?",
        qType},
        3*time.Second)
panic: Can't marshal int-type parameters

client mode parameters only support string type?

aryehlev commented 2 years ago

have you tried int8/32/64?